Fix bug where freshen_repos stumbles if a file that's  not a dir is in the dir you are trying to freshen