Fixed a couple of mistakes in sites.xml generator.