Use project object in _uploadPack in gerrit driver

During playing around with mypy I found out that the _uploadPack
method actually expects the project name but is called with the
project object from every caller. This actually worked by accident as
formatting the project object results in the correct string due to the
__str__ method. Nevertheless this is incorrect and should be
fixed. Additionally add some type annotations there.

Change-Id: Ia066d6cade04db1fe6e01102e70c774660ae4327
1 file changed