if the prefix to asn table is empty we get nil

from the search. map nil to 0 which is our normal fallback AS.