Fix filepath issue within ParseGitSubmodules()

The filepath already has cwd appended so the command doesn't need cwd.

Change-Id: I20c6fea27aee963e90cdb8a15cb087771dafa0fa
Bug: 1472143
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4771942
Commit-Queue: Scott Lee <ddoman@chromium.org>
Auto-Submit: Aravind Vasudevan <aravindvasudev@google.com>
Reviewed-by: Scott Lee <ddoman@chromium.org>
Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
diff --git a/gclient.py b/gclient.py
index 5dffe75..64a9ccf 100755
--- a/gclient.py
+++ b/gclient.py
@@ -966,7 +966,7 @@
 
     # Get .gitmodules fields
     gitmodules_entries = subprocess2.check_output(
-        ['git', 'config', '--file', filepath, '-l'], cwd=cwd).decode('utf-8')
+        ['git', 'config', '--file', filepath, '-l']).decode('utf-8')
 
     gitmodules = {}
     for entry in gitmodules_entries.splitlines():