CLOUDIFY-2709 - Deployments fail when the management and agent have different remote directories.