refer to this pr: Azure/azure-cli-extensions#7904
baremetal-infrastructure module is already released in version 2.0.1 from https://github.com/Azure/azure-baremetalinfrastructure-cli-extension/ and add their code into azure-cli-extensions later.
Becasue there is no base metadata file, the calculated version is 1.0.0b1.
Please figure out the way to set the version properly