cli: recognize AmbiguousQueryError as COMMAND_ERROR

Change-Id: I61665beffe059b3ebe2296ebb4916bfe49f1f025
Signed-off-by: Michael pasternak <mpastern@redhat.com>