Fix checkout tests on Windows
Merge pull request #1674 from arrbee/fix-checkout-target-dir-win32

Fix checkout tests on Windows