Improve pkgin regex detection
Explain the skip and fix the package list building.
Merge pull request #5568 from s0undt3ch/hotfix/smartos-pkgin

Improve pkgin regex detection