Fix logic error buildscript bat file.

The string-contains check requires a not for it to be considered true
as the test is whether replacing the word in the string produces the same
result. If it does not then it is considered to be in the string.

Refs #9877
Merge branch 'feature/9877_jenkins_buildscript_configurations' into develop