Fix exception message about producible media types

Issue: SPR-10175