Fix rsync options (#13047)

cherry-pick