Allow passing additional selectors into config's get_branch method.