location-kit fix NPE in LegacyLocationManager