if the script sets `binaries_path_by_id` globally ...
# general
a
if the script sets
binaries_path_by_id
globally in pants.ini or sets
PANTS_BINARIES_PATH_BY_ID
in the env (possibly to work around a previous version of this issue), that could be causing it