If I'm not wrong, the default location, if no locations are configured is the "provider". You should inject here the location supplier and use that location, as the provider is already the host.