Make get_configuration() a global.
Merge pull request #1029 from waywardmonkeys/fix-get-configuration

Make get_configuration() a global.