Make get_configuration() a global.

I'd missed this in a previous change to get cache debugging working, since cache debugging needs access to the configuration, this needs to be moved to a scope that encloses both functions.