Well it was much faster than I tought. The package sort of installed right away without needing any modifications !
Please download this updated cocoapods script: https://www.pmbaty.com/iosbuildenv/cocoapods.cmd.zip
Put it in Toolchain\cocoapods in place of the previous one (keep a backup by security) and let me know if this updated version fixes the problem. At first start it will download a new filesystem for the CocoaPods VM - this is expected.