<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unpack_xml(text) -> ET.ElementTree: """Unpack an XML string from AniDB API."""

    etree: ET.ElementTree = ET.parse(io.StringIO(text))
    _check_for_errors(etree)
    return etree