Sanity check using new_gradle flag

Change-Id: If719f5e7fe4b043310f5608db646a689ac0319e9
diff --git a/tools/archive.py b/tools/archive.py
index 2b3d90c..21ca4d4 100755
--- a/tools/archive.py
+++ b/tools/archive.py
@@ -226,7 +226,7 @@
       print('On main, using git hash for archiving')
       version = GetGitHash()
 
-    destination = GetVersionDestination('gs://', version, is_main)
+    destination = GetVersionDestination('gs://', version, is_main, new_gradle)
     if utils.cloud_storage_exists(destination) and not options.dry_run:
       raise Exception('Target archive directory %s already exists' % destination)