Checks if apt class predefined. Fixes #935
Merge branch 'master' of github.com:puphpet/puphpet