Fix exception when version
is missing when installing from the Hub package index
#26690
Loading
version
is missing when installing from the Hub package index
#26690