Use the same fact-scope for 'osfamily' as in install.pp and also provide a proper case for 'default => undef' to prevent running into the error 'No matching value for selector param 'undef'.