Changed the way the build is getting the git commit hash because the previous way doesn't always seem to provide the hash