Attempt to fix 'not a git repo'