Fix usage of InstalledVersions when loaded from composer/composer installed as a dependency and runtime Composer is v1, fixes #9937
Fix usage of InstalledVersions when loaded from composer/composer installed as a dependency and runtime Composer is v1, fixes #9937

stof/composer,nicolas-grekas/composer,stefangr/composer,staabm/composer,composer/composer,milleruk/composer,johnstevenson/composer,alcohol/composer