(#18334) package providers use osfamily

This commit will update apt and zypper package providers to use osfamily
instead of operatingsystem in order to avoid duplicating entries.