Fix for building sitemap in test environment