If name doesn't start with R_HEADS because later we prefix it with R_HEADS when we create the branch, we should be prefixing it here by R_HEADS too, rather than relying on the search path code buried within RefDatabase to find it.