rsync transport: allow local paths, and fix tests