If remote branches are not enabled, the branches are still listed in the log view. This patch removes them if enable-remote-branches=0.