Fix checking for repo dir without git/hg
1 file changed