add spec and handle if_lookup of non-existant interface mappings

these are the fixes that ktc-base#31 needs