hasSlaveScripts should also be available on labs slaves, not only production slaves. It seems the scripts are there but the slaves are not tagged that way. Perhaps the solution is to remove the tag if every slave has them.
To find all such jobs:
ssh gallium.wikimedia.org 'grep -l hasSlaveScripts /var/lib/jenkins/jobs/*/config.xml|cut -d\/ -f6'
That is all the -jslint jobs and:
[] erblint-HEAD
[X] jshint - https://gerrit.wikimedia.org/r/222115
[X] jsonlint - https://gerrit.wikimedia.org/r/222115
[X] *-jslint - https://gerrit.wikimedia.org/r/222115
[] mediawiki-core-phpcs
[] mediawiki-core-whitespaces
[X] mediawiki-core-phpcs-HEAD https://gerrit.wikimedia.org/r/222123
[X] mwext-.*-phpcs-HEAD https://gerrit.wikimedia.org/r/222123
[X] operations-puppet-pep8 https://gerrit.wikimedia.org/r/217249
[X] operations-puppet-test https://gerrit.wikimedia.org/r/217249
[] parsoidsvc-php-parsertests
[X] perllint https://gerrit.wikimedia.org/r/217503
[X] pplint-HEAD https://gerrit.wikimedia.org/r/217504