RF: safer handling of batch files during tests (win32), missing git