Fix JENKINS-19585

Fixed issue with contentType stuff