Fix potential crasher if malformed IP address was passed to create_ipinfo()