Check cache properly; delete all cached files on version update (#954)
Check cache properly; delete all cached files on version update (#954)

* Check cache properly; delete all cached files on version update

* Check gcloud command exists before using it

* sudo required to manage /usr/lib/google-cloud-sdk

gae-init/gae-init-babel,gae-init/gae-init-babel,mdxs/gae-init,gae-init/gae-init-babel,gae-init/gae-init,lipis/github-stats,gae-init/gae-init,gae-init/gae-init,mdxs/gae-init,gae-init/gae-init-babel,mdxs/gae-init,lipis/github-stats,gmist/my-gae-init,mdxs/gae-init,gae-init/gae-init,gmist/my-gae-init,lipis/github-stats,lipis/github-stats,gmist/my-gae-init,gmist/my-gae-init