Fix $replace parameter handling in get_config()

Code was reached only on first function call, then short-circuited because of the reference cache.
2 files changed