lookup, lookup_in_store fixes handle -delete option with wildcard correctly