DNN-4849 - prevent creation of invalid sitemap files