Fixes #321, null reference exception when navigating to a page that doesn't exist in the sitemap.