after you upgrade to 4.0 you can remove it with the ‘foreman-maintain content remove-pulp2’ command.
Keep in mind the discussion here: 'foreman-maintain content remove-pulp2' is evil
we’re in the process of improving that utility. If you use rpm to remove things by hand you can avoid that issue though (choose no when prompted to have the tool remove it for you)