cbuildbot/sync_stages: Remove Repo cache support.

The repo cache concept has long been replaced with the more effective
git cache. So... removing dead code and fixing a problematic test at
the same time.

BUG=chromium:637975
TEST=run_tests

Change-Id: Ieb84b35c41614abfafd6b2604e5f1226bd60e6ab
Reviewed-on: https://chromium-review.googlesource.com/477271
Commit-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index cbc0e36..5f82fa4 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -555,11 +555,8 @@
                                'artifacts and such. This should only be '
                                'used if you are confident in what you are '
                                'doing, as it will make automated commits.')
-  parser.add_remote_option('--repo-cache', type='path',
-                           help='Directory from which to copy a repo checkout '
-                                'if our build root is empty, to avoid '
-                                'excessive GoB load with a fresh sync.'
-                                'Deprecated in favor of --git-cache-dir.')
+  parser.add_remote_option('--repo-cache', type='path', dest='_repo_cache',
+                           help='Present for backwards compatibility, ignored.')
   group.add_remote_option('--no-buildbot-tags', action='store_false',
                           dest='enable_buildbot_tags', default=True,
                           help='Suppress buildbot specific tags from log '