Fix crash when trying to save with no scenes and scripts open
Fix crash when trying to save with no scenes and scripts open

This could occur when attempting to save project settings when
no scenes or scripts are open (which is common in a brand new project).

Valentactive/godot,godotengine/godot,ZuBsPaCe/godot,josempans/godot,vkbsb/godot,Faless/godot,ZuBsPaCe/godot,akien-mga/godot,godotengine/godot,vkbsb/godot,akien-mga/godot,pkowal1982/godot,DmitriySalnikov/godot,BastiaanOlij/godot,ZuBsPaCe/godot,akien-mga/godot,pkowal1982/godot,BastiaanOlij/godot,honix/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,vkbsb/godot,Valentactive/godot,Faless/godot,Shockblast/godot,vkbsb/godot,Faless/godot,ZuBsPaCe/godot,pkowal1982/godot,BastiaanOlij/godot,akien-mga/godot,pkowal1982/godot,akien-mga/godot,Valentactive/godot,Shockblast/godot,sanikoyes/godot,firefly2442/godot,firefly2442/godot,honix/godot,Valentactive/godot,Faless/godot,josempans/godot,firefly2442/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,josempans/godot,Zylann/godot,josempans/godot,Zylann/godot,pkowal1982/godot,Shockblast/godot,BastiaanOlij/godot,vkbsb/godot,guilhermefelipecgs/godot,Faless/godot,godotengine/godot,josempans/godot,ZuBsPaCe/godot,Faless/godot,sanikoyes/godot,sanikoyes/godot,vkbsb/godot,akien-mga/godot,firefly2442/godot,vkbsb/godot,sanikoyes/godot,DmitriySalnikov/godot,BastiaanOlij/godot,sanikoyes/godot,josempans/godot,Faless/godot,Valentactive/godot,sanikoyes/godot,DmitriySalnikov/godot,Faless/godot,vnen/godot,DmitriySalnikov/godot,Shockblast/godot,DmitriySalnikov/godot,Valentactive/godot,godotengine/godot,DmitriySalnikov/godot,honix/godot,vnen/godot,godotengine/godot,BastiaanOlij/godot,sanikoyes/godot,honix/godot,guilhermefelipecgs/godot,vnen/godot,ZuBsPaCe/godot,josempans/godot,Valentactive/godot,BastiaanOlij/godot,BastiaanOlij/godot,josempans/godot,vnen/godot,honix/godot,Valentactive/godot,pkowal1982/godot,honix/godot,firefly2442/godot,Shockblast/godot,godotengine/godot,Zylann/godot,Shockblast/godot,vkbsb/godot,pkowal1982/godot,DmitriySalnikov/godot,Shockblast/godot,guilhermefelipecgs/godot,akien-mga/godot,vnen/godot,Zylann/godot,vnen/godot,godotengine/godot,guilhermefelipecgs/godot,firefly2442/godot,Zylann/godot,firefly2442/godot,vnen/godot,Zylann/godot,ZuBsPaCe/godot,Zylann/godot,godotengine/godot,pkowal1982/godot,ZuBsPaCe/godot,akien-mga/godot,Zylann/godot,vnen/godot,Shockblast/godot,firefly2442/godot,sanikoyes/godot