HPCC-12300 remote copy creates ambiguous xpath

Update after review.

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