gitweb: Fix support for legacy gitweb config for snapshots