repopick: Update API for current gerrit version