Fix handling of external links in sitemap.