mngids.py: lookup an empty id when no match is found.