Fix GetGitProjectName to work when a single project has multiple remotes.

BUG=none
TEST=remote trybot run

Change-Id: I35fc40e8f6fcd263ff0fe9e5bd28945942b53f8b
Previous-Reviewed-on: https://gerrit.chromium.org/gerrit/48397
(cherry picked from commit 350cac722bdad232517e5c2e90527ec82e02d311)
Reviewed-on: https://gerrit.chromium.org/gerrit/48528
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
1 file changed