Magento Enterprise Cloud Edition bug: «The file "/composer.json" doesn't exist»

What does the patch do exactly? Maybe I can turn it into a Magneto patch that the build process runs (along with he other patches Magento runs)?

How to fix it manually without my official patch (I do not recommend this method)