Check if pulling from geonames was successful.

Closes #1039