python: Add workaroundd for fixing paths for MSYS2.