Remove last uses of config without global CONF object

This commit removes that last uses of config without using the global
CONF object.

Partially implements bp config-cleanup

Change-Id: Idc649993b7cd5a45282fde827b2b08f6fb19ab4d
Merge "Remove last uses of config without global CONF object"