Workaround defusedxml 2.6 error reporting