CBQE-1119: fix couchbase-cli for memcached buckets

Change-Id: I8022cf379aa85b36952dc189baeee56070dd45bd
Reviewed-on: http://review.couchbase.org/26120
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>