fix stupid KeyError in app.sitemap