Fixed a bug in XmlEnvironmentInfoRepository.