hg-to-git: abort if the project directory is not a hg repo