Fixed reported bug when reading invalid configuration files, error was not reported.