admin: Fix detached IP issue

Check if the IP is in use before fetching the VM and network that is
attached in.
Merge branch 'feature-admin-fix-ip' into feature-admin