api: Fixing RSDL issue

Master was broken and gluster's RSDL was returned also in
"virt only" and "all" modes.
This patch fixes the issues

Change-Id: I03f836e0784ce3a1b86fd7fc410acf07f4d5c8e1
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>