Update IntegrityCheckoutTask.java

[JENKINS-21151]
Minor changes to support using APISession.create