restore to osfamily to make Ubuntu work, fix error message to osfamily

With the PR #3 this broke support for Ubuntu. I have changed this back to osfamily now so that we don't have to mention each OS. This makes Ubuntu work again.