Do not allow to release from inside the .git directory.