retrieve gerrit project name from uri

Change-Id: I286938b76604c50afda91fa7f1499f4ebbf7a9c0
(cherry picked from commit dbd795ee172dd532656ddc758f175632c627ec5f)
3 files changed