Do not break if a dir IS a repo