NullPointerException while collecting changed files in branch

That’s what I meant: that Jenkins is doing the checkout differently.
After seeing this post I noticed that GIT_COMMIT was null and tried to set it as suggested. But the error is the same…
I’ll try to upgrade to 7.6 as a last resort.