Adjust remote dir path