You should just do `from invenio.base.globals import cfg` and then use `cfg['CFG_...']` in correct place where you are in app context.