Fixed compatibility with Jenkins 1.578