raise an error when a command is not defined

The various operating systems have defined specific commands.
When it is not found on a particular OS, then the error message is confusing

- better stubbing support