rgw: fix args parsing

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>