Fix bucket manager error

I still have the same error because err is not at false but at null.
This commit fix the issue of 'design document already exists' when it's not.

https://forums.couchbase.com/t/v2-0-0-mock-node-js-implementation-of-insert-ddoc-falsely-reports-ddoc-already-exists/1649