PRIO_LOGIC: check if PRIO_LOGIC code needs to be run by
comparing the length of pkg_list_mod and pkg_list_mod_tmp:
pkg_list_mod contains the base package names of all packages
that are to be upgraded, and pkg_list_mod_tmp is the same list,
but run through sort | uniq.