gitweb/gitweb.perl: don't call S_ISREG() with undef