fixes #8526 - allow plug-ins to modify multiple hosts actions

http://projects.theforeman.org/issues/8592