fix a type mismatch error in rpmkit.extras.optimizer.compute_removed_w_dnf
update the necessary RPMs list