geoip: test if geoip loaded before accessing it

to see why we're getting "interesting" Travis failures on from node 0.10
Merge pull request #652 from msimerson/geoip

geoip: test if geoip loaded before accessing it