Clean out old build products from the checkout.

This helps ensure we don't have really old *.pyc files kicking around,
which can cause trouble for Python upgrades.

Example error this should fix:
  ImportError: Bad magic number in .../chromite/scripts/lddtree.pyc

BUG=chromium:206038
TEST=cbuildbot run

Change-Id: I14af7b7a071686e72dd44059429afddeafe0ccd4
Previous-Reviewed-on: https://gerrit.chromium.org/gerrit/46993
(cherry picked from commit 86501df1c2fea8369e570dfb05103fb8156fe7be)
Reviewed-on: https://gerrit.chromium.org/gerrit/47836
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
diff --git a/lib/git.py b/lib/git.py
index d8d526e..f095396 100644
--- a/lib/git.py
+++ b/lib/git.py
@@ -961,7 +961,7 @@
     cmd = ['remote', 'update', remote]
     cros_build_lib.RetryCommand(RunGit, 3, git_repo, cmd, sleep=10,
                                 retry_on=(1,))
-  RunGit(git_repo, ['clean', '-df'])
+  RunGit(git_repo, ['clean', '-dfx'])
   RunGit(git_repo, ['reset', '--hard', 'HEAD'])
   RunGit(git_repo, ['checkout', local_upstream])