More meaningful exception when provider is missing