Fix bug where the --delete option was deleting files locally which