removed .git from returned directories