findmissing: util: move check_git_cookie_authdaemon_running()

BUG=none
TEST=none

Change-Id: If46517402a1153dbcc7f7b498fcbdf16899ac40b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3463398
Tested-by: Tzung-Bi Shih <tzungbi@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Commit-Queue: Tzung-Bi Shih <tzungbi@chromium.org>
diff --git a/contrib/findmissing/util.py b/contrib/findmissing/util.py
index 095a8da..a855290 100755
--- a/contrib/findmissing/util.py
+++ b/contrib/findmissing/util.py
@@ -64,14 +64,14 @@
             if is_gce:
                 # Ensures we have service account credentials to connect to cloudsql (GCP)
                 check_service_key_secret_exists()
+                # Ensure we have token to allow service account to perform Gerrit API operations
+                check_git_cookie_authdaemon_running()
 
             # Ensure cloudsql proxy is running to allow connection
             check_cloud_sql_proxy_running()
 
             if is_gce:
                 level = logging.INFO
-                # Ensure we have token to allow service account to perform Gerrit API operations
-                check_git_cookie_authdaemon_running()
             else:
                 level = logging.WARNING