remote-hg: add new get_config_bool() helper