fixed https://github.com/jenkinsci/jenkins/commit/d46b17e907ed68833091624b87db9c5b23c0aaec