[extractor/common] Fix format_id when `last_media` is None and always include `m3u8_i...