Use map() to fix displaying the error message
This is needed for grains with allowed values that map to boolean
True/False (like "yes" and "no", and of course also "True" and "False").
join() expects that its parameters are strings and errors out on
booleans.