Also look in .hg/cache/branchheads for branches

I left out one file to search for branches: branchheads. This PR adds it.