Fix Sync verification and fix bot

The previous commit adding the sync verification did not check the sync and broke the whole checking system. This fixes it.

Change-Id: I2b4acf63685176aad1dbaa32055e15f7b424e041