Throw exception if there's no config