geoip: safety check to see if the result structure is filled

- return $null if not
- reported by Juha Heinanen