Fix of issue 847: The "list_providers" option is broken in cli