# commands beyond print_usage
 
 PATH_BORG_CONF_SECURITY="${PATH_BORG_CONF}/security"
-_path_repo_location() { echo "${PATH_BORG_CONF_SECURITY}/${1}/location"; }
+_path_repo_location() { printf '%s' "${PATH_BORG_CONF_SECURITY}/${1}/location"; }
 
 cmd_keys() {
-    _PATH_CONF_KEYS="${PATH_BORG_CONF}/keys"
+    _PATH_BORG_CONF_KEYS="${PATH_BORG_CONF}/keys"
     _exit_ok() {
        echo "(none, since directory ${1}."
        exit 0
     }
     echo "Known keys, as per ${_PATH_BORG_CONF_KEYS}:"
-    if [ ! -d "${_PATH_CONF_KEYS}" ]; then
-       exit_ok "non-existant"
+    if [ ! -d "${_PATH_BORG_CONF_KEYS}" ]; then
+       _exit_ok "non-existant"
     fi
-    _KEYFILES="$(ls -1 ${_PATH_CONF_KEYS})"
+    _KEYFILES="$(ls -1 ${_PATH_BORG_CONF_KEYS})"
     if [ -z "${_KEYFILES}" ]; then
-       exit_ok "empty"
+       _exit_ok "empty"
     fi
     echo "${_KEYFILES}" | while read _FILENAME; do
-        _KEY_ID=$(head -1 "${_PATH_CONF_KEYS}/${_FILENAME}" | cut -d' ' -f2)
+        _KEY_ID=$(head -1 "${_PATH_BORG_CONF_KEYS}/${_FILENAME}" | cut -d' ' -f2)
         printf "${KEY_ID} ${_FILENAME} "
        _PATH_LOC="$(cat $(_path_repo_location ${_KEY_ID}))"
         if [ -f "${_PATH_LOC}" ]; then