It also seems the designers didn't envision any errors - the system always gives a valid result - which indicates this hasn't been particularly well engineered.
A GeoIP lookup can fail, and that error should be propagated through to whoever is using it - instead of returning a default value.
A GeoIP lookup can fail, and that error should be propagated through to whoever is using it - instead of returning a default value.