Some fixes in polling for redhat_setup task