gcloud: Analysis fixes

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//655063005