fix for puppet 2.7 ipaddresses() don't return :undefined for ipv6 addresses