fix a bug

When `registry.search` is an array, and length > 1, and first registry not found, in lib/lookup.js line 65, `!!data` always `true`.