Fix version compare for local/remote packages.
Fix version compare for local/remote packages.

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