Fix prompt for .git directories