fix getting multiple servers/buckets

Change-Id: Ifa3457d3ae58dd8781a33a85edff1b9638c8f550
Reviewed-on: http://review.couchbase.org/24212
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>