Don't convert bad curids to the Main Page

When a curid that doesn't exist is requested, cause the "Bad title" error
to be displayed rather than displaying the Main Page.

Bug: 58885
Change-Id: If54ca35b3799b8cf2f76e7f8a03001caa1fac676
Merge "Don't convert bad curids to the Main Page"