Adding  fixes to commit validation logic
Adding  fixes to commit validation logic

Change-Id: I02c3863372aa413154a5bb5d1fe3300be7c794e5

open-switch/infra_project-config,open-switch/infra_project-config