fix parsing of docworks folders for import