Fixed tests for repos using osfamily

Tests needed to be updated to use osfamily fact rather than operating
system.