getTreeOrBlob, seenSymbolicLinks housekeeping: Protect against no entry being passed (root dir).