fixes #1568 - PG::Error on fresh install
fixes #297 - Prevent operatingsystem.minor from storing NULLs