[yast/yast-network] 49dd09: Improve InterfacesCollection#by_type approach