wikipedia: Fix full-text searches with no results

The API output no longer has a "query" key if there are no matching
pages, so don't assume that it's there.