bug #2546: fix bug with remotes rsync copy