user-location: Avoid errors if plugin has not been initialized yet