This "trick" was implemented in softwaretype recipe. Since we are
migrating more and more SR (especially kvm) to switch_softwaretype, use
the same trick here.
Check out, review, and merge locally
Step 1.
Fetch and check out the branch for this merge request