Fix assert when trying to show details of an upgradable package