Repopick: update legacy gerrit api

Change-Id: Ic21c2aac1c27f29e1ee052b277dd6497342889b2