Fixing .git folders being treated as modules