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.