I was using an Ultimaker S5, though I usually use an Ultimaker 2+ Extended.
PETG is not shown for either printer before or immediately after the marketplace install nor after restarting Cura (as the 'success (?)' message requests).
Re: material not visible
My professional UX design advice is to handle this use case differently. Hiding incompatible materials creates a mismatch between the perceived system state and the actual system state. It also sets the user up to experience repeated "silent errors" wherein they install the material, get a "success" confirmation, but then see no system change, leaving them baffled as to what went wrong, even though nothing did.
I suggest indicating that the material is installed but just not available for this machine. It could be as simple as showing the unavailable materials as greyed out / not selectable. Or these materials could all be put in a separate 'incompatible with this printer' group. Or... (I could go on and on)