[PATCH v2 05/10] pakfire: Optimize upgradecore function