[#78320506] Delegate the checkout of the branch to Jenkins since it is only Jenkins that needs this