Correctly find the installed package when looking for updates