Shore up Hydrant::Configuration and MediaObject#set_media_types! to prevent uncaught exceptions