Update geolocation.py

Changed country variable initialization position, so that not occurs in case user is not connected to internet.