chore(protractor-jenkins-config): don't use `this` inside onPrepare

Closes #6406