Set the packageName in ProviderInfo returned by the package manager.

This should have been included as part of #1222.