Split rsync initialization out of run so we can test