only paginate if we haven't found anything yet. for *, fetching heads and tags at same time is slow, so do tags first, then heads
Merge pull request #10 from yields/improve/perf

improve performance a bit