If $sysname isn't set after calling ndb/cs, give it a default value. Alternatively this could have been done inside ndb/cs as a last resort, but putting it here allows setting a different default in termrc.local or cpurc.local if desired.