Fixes #6636, #6657, #6694: PGError while creating OS with to many characters in name/minor/major

Fixes #6657: Major/monor version fields should not accept negative integer values while creating OS
I suggest pinning either with '~> 0.2.0' or ~> 0.2, just in case.