Fixes #7743 - ensure name is unique in scope of major and minor

nitpick: "Operating system version _already_ exists" is better, IMHO