temporary workaround "Illegal string offset 'tag'" error

until better idea, as using isset() here, ends up with count($files)
DEBUG: ERROR: XML tree did not contain requested plugin: error.