gitweb: remove unused parse_ref method