Fix push not allowed to protected branch if

commit starts with 7 zeros.
Merge pull request #8231 from cirosantilli/0000

 Fix push not allowed to protected branch if  commit starts with 7 zeros.