Fix the rsync exit status handling