Fix show --all showing only the installed version if the package is installed, fixes #10095
Fix show --all showing only the installed version if the package is installed, fixes #10095

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