Can you explain what you are doing here ? What are the performance impact ? `command_exists` is called *a lot* by opam, would be good to keep this as light as possible.