fixed the reversed logic in comparing versions during upgrade that would cause the agent only upgrades when the remote repo package version is smaller (older) than current bundle version (which is downgrade only actually).
Merge pull request #420 from racker/songgao/reversed_logic_in_comparing_versions_during_upgrade

There's reversed logic in comparing versions during upgrade