[Win] Having .git as a suffix in the repo path breaks the repo
Created originally on Bitbucket by mr_mihaipopescu (Mihai Popescu)
#!shell
$ mkdir repo.git
$ cd repo.git
$ hg init
$ hg status
abort: repository '<path>/repo.git' is not local
Note: The issue is present only Windows (8.1). Mac OSX (10.11) and Linux (ubuntu 14.04) are ok.