Fix debug mode for no gateways in cluster_spec

Change-Id: Iadae6ce58dae194bc1571bcfcebc180c6049b2a2
Reviewed-on: http://review.couchbase.org/36788
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Li Yang <lichenyang2@gmail.com>