Correct a TypeError on empty files.

This *really* fixes the lack of a direct-result bubble on searches for "foo" in moz-central.