fix #3185: NPE in GeoDirHandler

One must not unconditionnally update geolocation and direction data as
it may be null.

This is a more correct fix for #2717.