Fix crash in /updateserver
Fix crash in /updateserver

EmmaKitty/Pokemon-Showdown,Legit99/Lightning-Storm-Server,Enigami/Pokemon-Showdown,Alpha-Devs/Alpha-Server,AbsolitoSweep/Absol-server,brettjbush/Pokemon-Showdown,Lord-Haji/SpacialGaze,Firestatics/omega,hayleysworld/asdfasdf,MayukhKundu/Pokemon-Domain,Kill-The-Noise/BlakJack-Boilerplate,LegendBorned/PS-Boilerplate,PS-Spectral/Spectral,SilverTactic/Dragotica-Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,xfix/Pokemon-Showdown,PS-Spectral/Spectral,Irraquated/EOS-Master,Parukia/Pokemon-Showdown,TheManwithskills/COC,SkyeTheFemaleSylveon/Mudkip-Server,KaitoV4X/Showdown,Ridukuo/Test2,DarkSuicune/Pokemon-Showdown,k3naan/Pokemon-Showdown,HoeenCoder/SpacialGaze,asdfghjklohhnhn/Pokemon-Showdown,MayukhKundu/Technogear-Final,Ransei1/Alt,Yggdrasil-League/Yggdrasil,piiiikachuuu/Pokemon-Showdown,johtooo/PS,CreaturePhil/Pokemon-Showdown,DB898/theregalias,Kill-The-Noise/BlakJack-Boilerplate,QuiteQuiet/Pokemon-Showdown,xCrystal/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate,hayleysworld/serenityserver,Sora-League/Sora,Oiawesome/DPPtServ2,ankailou/Pokemon-Showdown,Disaster-Area/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,Flareninja/Sora,Extradeath/advanced,TheManwithskills/DS,hayleysworld/Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,hayleysworld/serenityc9,Hopenub/Pokemon-Showdown,zek7rom/SpacialGaze,Volcos/SpacialGaze,ShowdownHelper/Saffron,Guernouille/Pokemon-Showdown,MeliodasBH/boarhat,azum4roll/Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,Thiediev/Pokemon-Showdown,megaslowbro1/Showdown-Server-again,lFernanl/Pokemon-Showdown,hayleysworld/serenity,DesoGit/TsunamiPS,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Syurra/Pokemon-Showdown,ehk12/bigbangtempclone,Irraquated/Showdown-Boilerplate,TheManwithskills/Server-2,BadSteel/Omega-Pokemon-Showdown,KaitoV4X/Showdown,Mystifi/Exiled,xfix/Pokemon-Showdown,MeliodasBH/Articuno-Land,SerperiorBae/Pokemon-Showdown-1,RustServer/Pokemon-Showdown,DalleTest/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,Pablo000/aaa,kuroscafe/Showdown-Boilerplate,panpawn/Pokemon-Showdown,catanatron/pokemon-rebalance,Gold-Solox/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,Nineage/Origin,Firestatics/Firestatics46,Zarel/Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,danpantry/Pokemon-Showdown,svivian/Pokemon-Showdown,JennyPRO/Jenny,BadSteel/Pokemon-Showdown,TheManwithskills/Server-2,Lord-Haji/SpacialGaze,Parukia/Pokemon-Showdown,AustinXII/Pokemon-Showdown,lAlejandro22/lolipoop,Pikachuun/Touhoumon-Showdown,Luobata/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,bai2/Dropp,HoeenCoder/SpacialGaze,kupochu/Pokemon-Showdown,abrulochp/Dropp-Pokemon-Showdown,AvinashSwaminathan/lotus-v2,SSJGVegito007/Vegito-s-Server,ZeroParadox/BlastBurners,Pikachuun/Pokemon-Showdown-SMCMDM,svivian/Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,sama2/Viridian-Pokemon-Showdown,MeliodasBH/boarhat,gustavo515/batata,Extradeath/psserver,Celecitia/Plux-Pokemon-Showdown,AWailOfATail/awoat,HoeenCoder/SpacialGaze,hayleysworld/Pokemon-Showdown,comedianchameleon/servertest1,yashagl/yash-showdown,Atwar/ServerClassroom,Kevinxzllz/PS-Openshift-Server,BlakJack/Kill-The-Noise,InvalidDN/Pokemon-Showdown,arkanox/MistShowdown,PauLucario/LQP-Server-Showdown,scotchkorean27/Pokemon-Showdown,TheManwithskills/COC,DalleTest/Pokemon-Showdown,Evil-kun/Pokemon-Showdown,Celecitia/Plux-Pokemon-Showdown,CrestfallPS/Pokemon-Showdown,JellalTheMage/PS-,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,AustinXII/Pokemon-Showdown,Articuno-I/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,Checkinator/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,megaslowbro1/Pokemon-Showdown,SerperiorBae/BaeShowdown,KewlStatics/Showdown-Template,Sora-Server/Sora,panpawn/Pokemon-Showdown,Breakfastqueen/advanced,Flareninja/Pokemon-Showdown,CreaturePhil/Pokemon-Showdown,UniversalMan12/Universe-Server,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,Raina4uberz/Light-server,AWailOfATail/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,kuroscafe/Paradox,DesoGit/Tsunami_PS,Lauc1an/Perulink-Showdown,DesoGit/Tsunami_PS,gustavo515/test,Zipzapadam/Server,PS-Spectral/Spectral,forbiddennightmare/Pokemon-Showdown-1,SolarisFox/Pokemon-Showdown,danpantry/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,Flareninja/Pokemon-Showdown,gustavo515/batata,ShowdownHelper/Saffron,theodelhay/test,svivian/Pokemon-Showdown,abrulochp/Lumen-Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,AbsolitoSweep/Absol-server,TheManwithskills/Server---Thermal,InvalidDN/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,svivian/Pokemon-Showdown,ZeroParadox/BlastBurners,ZestOfLife/FestiveLife,Fusxfaranto/Pokemon-Showdown,TheManwithskills/Dusk--Showdown,SerperiorBae/Bae-Showdown,hayleysworld/harmonia,SerperiorBae/Bae-Showdown-2,Wando94/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,SubZeroo99/Pokemon-Showdown,AWailOfATail/awoat,Wando94/Spite,LightningStormServer/Lightning-Storm,xfix/Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,TheManwithskills/Dusk--Showdown,yashagl/pokecommunity,Pikachuun/Joimmon-Showdown,RustServer/Pokemon-Showdown,Chespin14/Custom-Platform-Pokemon-Showdown,BasedGod7/PH,Arcticblast/Pokemon-Showdown,Kenny-/Pokemon-Showdown,FakeSloth/Infinite,Enigami/Pokemon-Showdown,Psyientist/Showdown-Boilerplate,Ecuacion/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,Git-Worm/City-PS,CorruptedHelix/Pokemon-Showdown,TheManwithskills/DS,DarkSuicune/Kakuja-2.0,Flareninja/Lumen-Pokemon-Showdown,comedianchameleon/servertest1,FakeSloth/Infinite,Pokemon-Devs/Pokemon-Showdown,Flareninja/Lumen-Pokemon-Showdown,hayleysworld/serenityc9,AvinashSwaminathan/lotus-v3,Sora-League/Sora,MasterFloat/LQP-Server-Showdown,TogeSR/Lumen-Pokemon-Showdown,Vacate/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,SilverTactic/Showdown-Boilerplate,sirDonovan/Pokemon-Showdown,hayleysworld/serenity,MayukhKundu/Flame-Savior,ehk12/bigbangtempclone,PrimalGallade45/Dropp-Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,ankailou/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,Firestatics/omega,HoeenKid/Pokemon-Showdown-Johto,megaslowbro1/Pokemon-Showdown,MayukhKundu/Pokemon-Domain,KewlStatics/Alliance,Breakfastqueen/advanced,TheManwithskills/Server,TheDiabolicGift/Showdown-Boilerplate,LegendBorned/PS-Boilerplate,Flareninja/Hispano-Pokemon-Showdown,DB898/theregalias,abrulochp/Dropp-Pokemon-Showdown,DarkSuicune/Kakuja-2.0,Extradeath/psserver,TheManwithskills/New-boiler-test,cadaeic/Pokemon-Showdown,Hidden-Mia/Roleplay-PS,arkanox/MistShowdown,cadaeic/Pokemon-Showdown,Evil-kun/Pokemon-Showdown,TheManwithskills/Server---Thermal,EmmaKitty/Pokemon-Showdown,KewlStatics/Shit,Flareninja/Hispano-Pokemon-Showdown,Irraquated/Pokemon-Showdown,Extradeath/advanced,johtooo/PS,sama2/Dropp-Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,Firestatics/Firestatics46,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,Hidden-Mia/Roleplay-PS,Johto-Serverr/Werfin-Boilerplate,sama2/Lumen-Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,theodelhay/test,Sora-Server/Sora,TheManwithskills/serenity,urkerab/Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,MayukhKundu/Technogear-Final,Pablo000/aaa,Lauc1an/Perulink-Showdown,SerperiorBae/Pokemon-Showdown,SerperiorBae/Bae-Showdown,hayleysworld/Showdown-Boilerplate,panpawn/Gold-Server,Ridukuo/Test2,Flareninja/Pokemon-Showdown-1,gustavo515/gashoro,jd4564/Pokemon-Showdown,Irraquated/Pokemon-Showdown,yashagl/pokemon,AustinXII/Pokemon-Showdown,Psyientist/Showdown-Boilerplate,TheDiabolicGift/Lumen-Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,KewlStatics/Pokeindia-Codes,panpawn/Gold-Server,ehk12/coregit,SolarisFox/Pokemon-Showdown,Irraquated/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,lFernanl/Lumen-Pokemon-Showdown,gustavo515/final,DesoGit/TsunamiPS,SerperiorBae/BaeShowdown,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,javi501/Lumen-Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,Kokonoe-san/Glacia-PS,jd4564/Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,zczd/enculer,Alpha-Devs/Alpha-Server,LightningStormServer/Lightning-Storm,aakashrajput/Pokemon-Showdown,Checkinator/Pokemon-Showdown,Legit99/Lightning-Storm-Server,SerperiorBae/PokemonShowdown2,Irraquated/Showdown-Boilerplate,Werfin96/Ultimate,AWailOfATail/Pokemon-Showdown,PauLucario/LQP-Server-Showdown,bai2/Dropp,LustyAsh/EOS-Master,Mystifi/Exiled,UniversalMan12/Universe-Server,Firestatics/Omega-Alpha,TheManwithskills/Creature-phil-boiler,xfix/Pokemon-Showdown,psnsVGC/Wish-Server,Vacate/Pokemon-Showdown,k3naan/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,megaslowbro1/Showdown-Server-again,Flareninja/Showdown-Boilerplate,TheFenderStory/Showdown-Boilerplate,Ecuacion/Pokemon-Showdown,Elveman/RPCShowdownServer,SerperiorBae/BaeShowdown,JennyPRO/Jenny,TheFenderStory/Pokemon-Showdown,ehk12/clone,psnsVGC/Wish-Server,TheManwithskills/serenity,yashagl/pokemon,Alpha-Devs/OmegaRuby-Server,AWailOfATail/Pokemon-Showdown,Zarel/Pokemon-Showdown,FakeSloth/wulu,svivian/Pokemon-Showdown,MayukhKundu/Mudkip-Server,yashagl/pokemon-showdown,ZestOfLife/FestiveLife,JellalTheMage/Jellals-Server,Kevinxzllz/PS-Openshift-Server,yashagl/pokemon-showdown,Flareninja/Showdown-Boilerplate,SubZeroo99/Pokemon-Showdown,Zipzapadam/Server,Firestatics/Omega-Alpha,ScottehMax/Pokemon-Showdown,KewlStatics/Shit,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Guernouille/Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,abrulochp/Lumen-Pokemon-Showdown,Bryan-0/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,MayukhKundu/Mudkip-Server,KewlStatics/Showdown-Template,Parukia/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,TheManwithskills/Server,Raina4uberz/Light-server,comedianchameleon/test,LightningStormServer/Lightning-Storm,Tesarand/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,yashagl/pokecommunity,ScottehMax/Pokemon-Showdown,Ransei1/Alt,hayleysworld/harmonia,PrimalGallade45/Dropp-Pokemon-Showdown,lFernanl/Mudkip-Server,TogeSR/Lumen-Pokemon-Showdown,Irraquated/EOS-Master,Darkshadow6/PokeMoon-Creation,ZestOfLife/PSserver,javi501/Lumen-Pokemon-Showdown,panpawn/Gold-Server,forbiddennightmare/Pokemon-Showdown-1,Neosweiss/Pokemon-Showdown,miahjennatills/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,lFernanl/Mudkip-Server,Oiawesome/DPPtServ2,SerperiorBae/Bae-Showdown,DesoGit/Tsunami_PS,Kill-The-Noise/BlakJack-Boilerplate,AvinashSwaminathan/lotus,lAlejandro22/lolipoop,Darkshadow6/PokeMoon-Creation,sama2/Universe-Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,TbirdClanWish/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,TheDiabolicGift/Lumen-Pokemon-Showdown,Stroke123/POKEMON,superman8900/Pokemon-Showdown,VoltStorm/Server-pokemon-showdown,kubetz/Pokemon-Showdown,gustavo515/final,BuzzyOG/Pokemon-Showdown,ZestOfLife/PSserver,xCrystal/Pokemon-Showdown,SilverTactic/Pokemon-Showdown,Yggdrasil-League/Yggdrasil,Zarel/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,Adithya4Uberz/The-Tsunami-League,Wando94/Pokemon-Showdown,superman8900/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,Sora-Server/Sora,Adithya4Uberz/KTN,BuzzyOG/Pokemon-Showdown,zczd/enculer,CreaturePhil/Showdown-Boilerplate,brettjbush/Pokemon-Showdown,Enigami/Pokemon-Showdown,Volcos/SpacialGaze,MayukhKundu/Technogear,TheManwithskills/Server-2,SilverTactic/Pokemon-Showdown,Git-Worm/City-PS,sama2/Lumen-Pokemon-Showdown,MayukhKundu/Flame-Savior,ZeroParadox/ugh,iFaZe/SliverX,Legendaryhades/Oblivion,Stroke123/POKEMON,Bryan-0/Pokemon-Showdown,MasterFloat/Pokemon-Showdown,iFaZe/SilverZ,comedianchameleon/test,EienSeiryuu/Pokemon-Showdown,catanatron/pokemon-rebalance,scotchkorean27/Pokemon-Showdown,ShowdownHelper/Saffron,jumbowhales/Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,JellalTheMage/Jellals-Server,MasterFloat/LQP-Server-Showdown,kuroscafe/Paradox,Nineage/Showdown-Boilerplate,anubhabsen/Pokemon-Showdown,hayleysworld/asdfasdf,Atwar/server-epilogueleague.rhcloud.com,kotarou3/Krister-Pokemon-Showdown,Articuno-I/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,BuzzyOG/Pokemon-Showdown,UniversalMan12/Universe-Server,Pikachuun/Joimmon-Showdown,TheManwithskills/New-boiler-test,Enigami/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,LustyAsh/EOS-Master,SerperiorBae/Bae-Showdown-2,Ridukuo/Test,Breakfastqueen/advanced,xfix/Pokemon-Showdown,MayukhKundu/Technogear,Tesarand/Pokemon-Showdown,Disaster-Area/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,kubetz/Pokemon-Showdown,urkerab/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,lFernanl/Pokemon-Showdown,Flareninja/Sora,Syurra/Pokemon-Showdown,ZeroParadox/ugh,Wando94/Spite,KewlStatics/Pokeindia-Codes,Mystifi/Exiled,kupochu/Pokemon-Showdown,JellalTheMage/PS-,Ridukuo/Test,CorruptedHelix/Pokemon-Showdown,HoeenCoder/SpacialGaze,SilverTactic/Dragotica-Pokemon-Showdown,SerperiorBae/PokemonShowdown2,Tesarand/Pokemon-Showdown,MeliodasBH/Articuno-Land,Adithya4Uberz/The-Tsunami-League,Flareninja/Sora,QuiteQuiet/Pokemon-Showdown,zek7rom/SpacialGaze,Sora-League/Sora,sama2/Viridian-Pokemon-Showdown,comedianchameleon/test,ehk12/clone,gustavo515/gashoro,DarkSuicune/Pokemon-Showdown,KewlStatics/Alliance,TheFenderStory/Showdown-Boilerplate,gustavo515/test,Kokonoe-san/Glacia-PS,Pikachuun/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,AvinashSwaminathan/Pokelegends,MasterFloat/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,Lord-Haji/SpacialGaze,yashagl/yash-showdown,Atwar/ServerClassroom,miahjennatills/Pokemon-Showdown,Elveman/RPCShowdownServer,xCrystal/Pokemon-Showdown,ehk12/coregit,Nineage/Origin,urkerab/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,hayleysworld/serenityserver,CharizardtheFireMage/Showdown-Boilerplate,sirDonovan/Pokemon-Showdown