Catch the NPE when creating the Geocoder obj

Fix for #795