pipeline: remove unreachable branch