This task only list the file changes of pull request. I suggest we simply put

|MARIONETTE_TEST_FILE_NAMES=$(node tests/travis_ci/marionette_js_check/pull-request-marionette-test.js)|

into tests/travis/marionette_js_check/script and also put pull-request-marionette-test.js in the same folder.