The unit test discovered it, only because in tests it runs the command locally, and apparently through /bin/sh.