fix parsing of docworks folders for bulk upload
Merge pull request #789 from nla/js-docworks-import-fixes

fix parsing of docworks folders for import