Return empty array if publicipaddress is nil
Merge pull request #37 from chrisroberts/ip-address-fix

Return empty array if publicipaddress is nil