Change the check for git rev-parse to fail if the SHA is not found. Refs #8163.
Merge pull request #8179 from cachedout/#8163

Change the check for git rev-parse to fail if the SHA is not found. Refs...