Fix getInfoRefs call from getProjectBranches

From other parts of the code getInfoRefs is always called via the
project name instead of the project object.

Further make it explicit in getInfoRefs and getRefSha that they
require a project name and not a project.

Change-Id: I7bad770e03416612a7c9ece5f368bd894156bd16
1 file changed