example/server2ip.py: Fix crash if ips property is missing

If a server has no IP assigned to it, the ips property is not set and the script
crashes with the attribute error "server instance has no attribute 'ips'". Fix
this crash by ignoring servers without IPs set.