pkgin: fix upgrade

Fix typo introduced in https://github.com/saltstack/salt/pull/14812
Merge pull request #17301 from ze42/develop

pkgin: fix upgrade