use self.active_branch instead of DEFAULT_BRANCH

Fixes #31