Cleanup last remnants of Repo.NumDirs