Changed branch checkout in after-success