gitweb.js: fix null object exception in initials calculation