Oops, forgot two x's, this kept RM_PKGS from working in case
upgr was true.