Fix reference error on unknown config variable