Fixed F19 hack in mock_config.py