image: Fixes for rsync command