tools: Catch OSError which is raised when the tool is not available
tools: Catch OSError which is raised when the tool is not available

Closes https://github.com/espressif/esp-idf/issues/7140

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf