Ensure a new commit exists before triggering hook

Change-Id: Ie055c0edc825da0be0c8386b6c0f1fa815db0839
1 file changed