Properly get Network and NetworkDevice