CBQE-0 fix cleanup cluster after upgrade from CE to EE.

Change-Id: I054b76e50e3ee228b5cc1e8595b3f714a5e45358
Reviewed-on: http://review.couchbase.org/40481
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Tested-by: Thuan Nguyen <soccon@gmail.com>