Fix upgrade detection (while here revert name detection it doesn't work)
Fix upgrade detection (while here revert name detection it doesn't work)

en90/pkg,Open343/pkg,skoef/pkg,khorben/pkg,en90/pkg,junovitch/pkg,khorben/pkg,junovitch/pkg,Open343/pkg,skoef/pkg,khorben/pkg