Fix crash on save-branch-as-scene
Fix crash on save-branch-as-scene

firefly2442/godot,vnen/godot,firefly2442/godot,ex/godot,Zylann/godot,firefly2442/godot,honix/godot,BastiaanOlij/godot,Zylann/godot,Shockblast/godot,akien-mga/godot,godotengine/godot,Shockblast/godot,Paulloz/godot,vkbsb/godot,ex/godot,Zylann/godot,okamstudio/godot,MarianoGnu/godot,okamstudio/godot,josempans/godot,Faless/godot,vnen/godot,MarianoGnu/godot,ex/godot,MarianoGnu/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,sanikoyes/godot,ex/godot,josempans/godot,NateWardawg/godot,firefly2442/godot,akien-mga/godot,josempans/godot,NateWardawg/godot,firefly2442/godot,akien-mga/godot,sanikoyes/godot,Shockblast/godot,groud/godot,RandomShaper/godot,godotengine/godot,ZuBsPaCe/godot,Zylann/godot,mcanders/godot,BastiaanOlij/godot,vnen/godot,Paulloz/godot,ZuBsPaCe/godot,sanikoyes/godot,BastiaanOlij/godot,honix/godot,NateWardawg/godot,sanikoyes/godot,Valentactive/godot,Shockblast/godot,NateWardawg/godot,guilhermefelipecgs/godot,okamstudio/godot,josempans/godot,pkowal1982/godot,akien-mga/godot,guilhermefelipecgs/godot,Faless/godot,mcanders/godot,okamstudio/godot,guilhermefelipecgs/godot,vnen/godot,pkowal1982/godot,ZuBsPaCe/godot,vkbsb/godot,akien-mga/godot,firefly2442/godot,firefly2442/godot,RandomShaper/godot,BastiaanOlij/godot,BastiaanOlij/godot,NateWardawg/godot,DmitriySalnikov/godot,josempans/godot,Faless/godot,Zylann/godot,Valentactive/godot,RandomShaper/godot,Shockblast/godot,RandomShaper/godot,firefly2442/godot,MarianoGnu/godot,godotengine/godot,vkbsb/godot,Zylann/godot,DmitriySalnikov/godot,BastiaanOlij/godot,Paulloz/godot,godotengine/godot,ZuBsPaCe/godot,Valentactive/godot,godotengine/godot,honix/godot,Paulloz/godot,guilhermefelipecgs/godot,mcanders/godot,josempans/godot,Faless/godot,vnen/godot,guilhermefelipecgs/godot,josempans/godot,honix/godot,Valentactive/godot,pkowal1982/godot,ex/godot,pkowal1982/godot,pkowal1982/godot,sanikoyes/godot,groud/godot,okamstudio/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,akien-mga/godot,vkbsb/godot,josempans/godot,vkbsb/godot,Valentactive/godot,okamstudio/godot,MarianoGnu/godot,Faless/godot,groud/godot,pkowal1982/godot,mcanders/godot,ZuBsPaCe/godot,Valentactive/godot,sanikoyes/godot,RandomShaper/godot,vkbsb/godot,mcanders/godot,sanikoyes/godot,MarianoGnu/godot,groud/godot,godotengine/godot,NateWardawg/godot,RandomShaper/godot,pkowal1982/godot,MarianoGnu/godot,okamstudio/godot,MarianoGnu/godot,Paulloz/godot,Faless/godot,okamstudio/godot,akien-mga/godot,vnen/godot,Zylann/godot,ZuBsPaCe/godot,mcanders/godot,DmitriySalnikov/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,ex/godot,guilhermefelipecgs/godot,Shockblast/godot,Valentactive/godot,BastiaanOlij/godot,NateWardawg/godot,godotengine/godot,vkbsb/godot,Paulloz/godot,Valentactive/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,ex/godot,Paulloz/godot,groud/godot,DmitriySalnikov/godot,Shockblast/godot,Faless/godot,vkbsb/godot,honix/godot,NateWardawg/godot,okamstudio/godot,Zylann/godot,sanikoyes/godot,groud/godot,ex/godot,NateWardawg/godot,vnen/godot,RandomShaper/godot,godotengine/godot,honix/godot,okamstudio/godot,vnen/godot,Faless/godot,akien-mga/godot,pkowal1982/godot,Shockblast/godot