pkgin._check_pkgin(): trivial simplification
Merge pull request #5588 from cvrebert/patch-1

pkgin._check_pkgin(): trivial simplification