GPII-896: Fix patching -- doesn't work with ..\ in path