Bazel on Linux usually sets the RUNFILES_DIR environment variable but it may alternatively set RUNFILES_MANIFEST_FILE. General advice for scripts is to make your scripts capable of working with both.
At least src/extensions/score_plantuml.py does not handle RUNFILES_MANIFEST_FILE.