fix gerrit to behave with jenkins

Change-Id: I656787b532960dc4a6687ee982f3f8c361ddf31f