get: Parametrize the onlyif condition of the rsync command

User may have different requirement than the one offer to run
rsync, this commit allows on to specify this condition remaining
backward compatible with current version.
This code block needs to be moved below the declaration of $rsync_options.