Fix the _get_active_branches to actually get the active branches...