Some path equality tests are not symmetric.
Switch to ignore post-commit hook in SCM polling triggers [FIXED JENKINS-18807]