Fix NPE in Config constructor