Fix cli with new ProviderManager