bug-18396: Removing a duplicate, erroneous call to env->open() and using a single variable name for BDB errors in context_init().