Use osfamily fact to discriminate between distros

I'm using Scientific Linux here, so the test didn't find a solution for me. I edited it to use the osfamily fact, to cover more cases.