APPS: replace awkward and error-prone pattern by calls to new app_conf_try_string()