Reorder args in rsync

And make sure we clean up after actually adding to repos.