Only initialize network device if url information is available.