Fix check for installed packages which always errors when upgrade is not required
Merge pull request #2 from betamatt/feature/fix-update

Fix check for installed packages which always errors when upgrade is not required.