scripts: setlocalversion: Do not append last commit hash