Fix the repo Autocomment tests broken by a core change

These have been broken with I2622b35e712120dc171ea44a887d6b42286f2a06

Change-Id: Id7d51b6ff2187c460246d89bb949dff0ca5de4c8