ECMS-6086: Unknown error and PathNotFoundException when restoring a file with tags

Fix description:
  - fix the place to add restore path when moving node to Trash