Adapt some tests to repo path containing a space character

Other tests are not yet able to execute successfully if the path to the
working directory includes a space.  Since the Windows installer places
JENKINS_HOME in a directory path containing a space, those tests will
continue to fail.
Merge commit 'f9a5a2ccb6a5b99ebeb65fceeb2e565480c840d8' into HEAD