Prevent potential NPE when configuration file is bad