pkg: move active_list structure out of pkg_t