Issue #2638856 by bojanz, webflo, SiliconMind: Unable to install modules with core dependencies via composer (cherry picked from commit 0f0c2c3e)