set `TOOLCHAIN_NAMES` to `None` on top, and fix this check?

With this in place, you'll rebuild the `TOOLCHAIN_NAMES` cache every time a non-existing key is provided in `search_string`?