Fixed failed lookup of config.cfg while rerun