[config] Fix incorrect comparison in yes/no options

Fixes #459