geoip: replace 'return' with continue in for loop