Bugfix: Ignore profiles dir when it is a git repo