Merge "Rework get_network_from_name() function"