Move Directory check to Repository.GetDirectoryVersionInfo