Previous attempt didn't work properly. This version uses the proper `provider.has_command` api to specify the env vars which should be used. Also catches the exit 1 thrown when `equo match --installed` doesn't find anything, now that the wrapper script is no longer hiding the exit code behind an explicit `exit 0`.