(#7986) Modify pkg provider to handle publisher
The methods :instances, :query and :latest did not handle pkg list -H
lines correctly when the publisher of a package is not the preferred
publisher.
Modify the parsing method to handle lines with publisher correctly