HPCC-12300 remote copy creates ambiguous xpath

Update after second review.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>