client: make query in list_tenant() optional

(otherwise the CLI breaks)

Fixes MN-561

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>