Added the cwd argument in command failures

I think it adds some context to know the `cwd` argument value when a command run has failed.