Refactor of unwatch_symbolic_link