CB-6846 Fixes `Platform Add` step fail on Windows slave

Fix for [CB-6846](https://issues.apache.org/jira/browse/CB-6846)