[JENKINS-25945] Fixed documentation according to the implemented method

in ReleaseContext.groovy.