Added check for rsync dependency