Fix NPE in Config class due to variable not being assigned.