issue #19306: return false if no resources and no services