Fix uninitialized variable in get_refs_via_rsync().