Use the correct ValidatePolicy for commits created by Gerrit As these commits are not being received via upload from elsewhere but are being created by gerrit, they should run through the validateForGerritCommits logic rather than validateForReceiveCommits. Change-Id: I6e4609f5c79b6abfb21c0f5741cae856909e24e9