Remove branch info from scm block