Fix XML sitemapsDo not include external URLs in XML sitemap (Issue #528) - updated according to jdevalk's comments