This will fail to catch a yum package on a debian distro or vise versa. better would be asserting in default_installers[os_name]