CBQE-927: fix global name 'e' is not defined

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