registry: use available string constant in debug statement.