[#JENKINS-17334] Fix support for gh-ent token generation.