rsync code didn't respect the dry run parameter