fix NotifyCommit logic. 
it makes no sense for jobs to get triggered by a post commit hooks to have a polling SCM trigger set.