Fix an issue where the .VERSION file output from build.py had multiple commit hashes
Fix an issue where the .VERSION file output from build.py had multiple commit hashes

jenkinsci/coverity-plugin,jenkinsci/coverity-plugin,jenkinsci/coverity-plugin,jenkinsci/coverity-plugin