Don't try to read config file if in WAR.