Only pass branch if branch is explicitly set