Significant bug fix to \cge_utils::get_db() for some environments.