[#18388] Fix the branch import with custom attributes existing in the target thesaurus