sync awk implementation of config_get_bool with the shell variant