add .git subdir when checking for a cloned repo