OC-2868: Fix bug: Unshare a file that does not exist any more, no message is shown