Fix stripping ".git" from dir names