Fixes #1850: Fix TypeError when attempting IP address import if only unnamed devices exist
Fixes #1850: Fix TypeError when attempting IP address import if only unnamed devices exist

lampwins/netbox,lampwins/netbox,digitalocean/netbox,digitalocean/netbox,digitalocean/netbox,digitalocean/netbox,lampwins/netbox,lampwins/netbox