[scripts] rewrite __generate_hosts function to be able to use oargridjob_id
or comma separated list of site:job_id