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

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