rex_media::get(): sanitize $name