INT-2866: change `remotePath` to `remoteDirectory`