Ensures that local git config is used while checking if it is a Git-svn repo.

If no `--local` option is passed to git config command line tool, it will relies
on the local repository and then to the user configuration ($HOME/.gitconfig).
In case the user has - for some reason - a svn repository configured in this
user configuration, the checking: `git config --get-regexp ^svn-remote\.` will
accuse that there is svn repo and so the `git cl tool`. This patch just add
the option `--local` to the git config command line tool, avoiding this
situation.

R=maruel@chromium.org,dpranke@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/13884014

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@193987 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 58508bf..a890dac 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -171,7 +171,7 @@
     return [
       ((['git', 'config', 'rietveld.cc'],), ''),
       ((['git', 'config', 'branch.master.base-url'],), ''),
-      ((['git', 'config', '--get-regexp', '^svn-remote\\.'],),
+      ((['git', 'config', '--local', '--get-regexp', '^svn-remote\\.'],),
         (('', None), 0)),
       ((['git', 'rev-parse', '--show-cdup'],), ''),
       ((['git', 'svn', 'info'],), ''),
@@ -206,7 +206,7 @@
   @classmethod
   def _dcommit_calls_1(cls):
     return [
-      ((['git', 'config', '--get-regexp', '^svn-remote\\.'],),
+      ((['git', 'config', '--local', '--get-regexp', '^svn-remote\\.'],),
        ((('svn-remote.svn.url svn://svn.chromium.org/chrome\n'
           'svn-remote.svn.fetch trunk/src:refs/remotes/origin/master'),
          None),