Added fix for alternate appspot hosts of stackstudio and third party portals