Correctly generate HTTPS URLs in the sitemap (see #6421)