Don't thrown an exception when the media type is undefined