Fixed an issue with cmd.run with requirements when the shell is not the default