Adjust to changes in Gerrit core

In Ib79ccfa267f Project class changed to be AutoValue. Adapt the code
correspondingly.

Change-Id: Iaf4b96e6e9066a5a923b729ff012f186eaa8a11f
1 file changed