public string GetActiveDirectory(Rack rack) { return(rack.MountPoints.First(mp => _directoryMethods.Exists(mp.Path)).Path); }