When going through the API, selected_target_option is always 'None'. That brakes grains-based minion-discovery for the batch run when running through the API. The expr_form is always set, so we can default to that safely instead of glob.
Merge pull request #3537 from felskrone/develop

When going through the API, selected_target_option is always 'None'.