added new function _check_package_defined_in_hosts_file to check package_name in /etc/hosts file on each node