plugin: fix catch-all recognition