Replace findProviders in commandutils.py