Throw exception if config does not exists