skip git clean if there is no .git directory