delete_old_pkg: origin is passed in, no need to look it up again