simplify dns_ip_address code

'ips' would be False when it is None or empty

Closes-Bug: #1287086

Change-Id: I70d831865af16bfeee969b7927edd6ccc7d2aa11
Merge "simplify dns_ip_address code"