saltstack/salt — pull request #7153 by dlanderson (2013-09-10 19:48:38+00:00)
Title: Fix issue 6800. cwd=target was being passed to _run_check which blew up ...

...if target dir did not already exist.

There's no reason to assume we should run the unless and onlyif tests in the target dir, so don't force cwd=target for run_check_cmd_kwargs.