Fix bug that branches wouldn't show if cache was cold