GIT-VERSION-GEN: do not fail if a 'HEAD' file exists in the working copy