Make pkg state work with Windows packages
Merge pull request #5180 from UtahDave/develop

Make pkg state work with Windows packages