null check before wiping activeDbs
null check before wiping activeDbs

happieio/Couchbase-Lite-Cordova-Plugin,happieio/cordova-plugin-couchbase-lite,happieio/cordova-plugin-couchbase-lite,happieio/cordova-plugin-couchbase-lite,happieio/cordova-plugin-couchbase-lite,happieio/Couchbase-Lite-Cordova-Plugin,happieio/Couchbase-Lite-Cordova-Plugin,happieio/Couchbase-Lite-Cordova-Plugin