using vagrant's subprocess to execute rsync and removing trailing slashes from the hostpath.