Low: fencer: improve argument validation and variable names
Rename "host" to "target" for consistency with current usage,
and create a new "action" variable instead of using search->action directly,
so we can more easily validate that search and search->action are not NULL.