Ticket #2276: copy/move: wrong directory update with the same name