gitweb: git_get_heads_list accepts an optional list of refs