[TEST] Create checkout directory on Windows before trimming path
[TEST] Create checkout directory on Windows before trimming path

The getShortPathName method can only be used on a directory that actually exists, otherwise it will fail with a cryptic message.

Original commit: elastic/x-pack-elasticsearch@fea440ba94a7c34cfafa171b9104b41137348725

vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra