this is the fix needed to detect moving single node by assignment. once the number of PR is reduced, we should go through all code and replace basename/dirname calls to use the phpcr utils too. already do it right in this place.