Undo commits when git tag fails on npm version.