Merge pull request #2609 from vlakoff/develop-2

Fix $replace parameter handling in get_config()