The root package version, when running with a stub version of PackageVersions\Versions
(which happens when installation was run with --no-scripts or equivalent), uses a string
that is not recognized by Composer's composer-runtime-api tooling: for that special
case, we compare it to the default version that is stored in the constant, and use
composer's tooling to figure out the actual root package version
Fixes #148
The root package version, when running with a stub version of
PackageVersions\Versions
(which happens when installation was run with--no-scripts
or equivalent), uses a string that is not recognized by Composer'scomposer-runtime-api
tooling: for that special case, we compare it to the default version that is stored in the constant, and use composer's tooling to figure out the actual root package version