[JENKINS-19457] Wrap eval in try-catch to prevent job configuration breakdown