Null checks for Geolocator