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

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt