wallbase: Fix panic when no match is located.