The default should be 'auto', and we allow 'true' and 'false' too. Fixes #6445. (cherry picked from commit b1519d65)