rsync_protocol(): fix regex for bash 3.2

Thanks to maswan for the notice:
etc/common: line 239: unexpected argument `(' to conditional binary operator'

Introduced by 8d734b / a37134
RSYNC_OPTIONS and delete-method: fix regex for bash 3.2

Introduced by 8d734b614f2f6a33f71cc0