Check whether the MSI provider is installed, and don't try to query MSI packages if not
Merge pull request #5419 from djs52/develop

Check whether the MSI provider is installed, and don't try to query MSI if not