Throw 404 instead of 500 for non-existing static page listing

Some backends don't have a static page index listing. As this route
isn't linked from anywhere using these backends, this now throws 404,
not a 500.