CBQE-0: fix failure dure no None Type being passed

Change-Id: I299a3ab0c3c0ce3b843a8660fc43c1c3f3f2de9a
Reviewed-on: http://review.couchbase.org/40840
Reviewed-by: Parag Agarwal <agarwal.parag@gmail.com>
Tested-by: Parag Agarwal <agarwal.parag@gmail.com>