Fix path for .git directory