I took this logic from the existing code. If $list->Count() == 1 && $list->First()->DefaultSite == true, then it never reaches this point.