Call current_branch() only once by using the cached value.

A small optimization which calls current_branch() only once in the Eastwood and Gallois themes.