PyJobTransforms: Fix for ATLINFR-3411 (manual cherry-pick from master)

Closed Alaettin Serhan Mete requested to merge amete/athena:manualSweep30782to21.9 into 21.9

I need to backport this fix so that I can access AMI tag information (in 21.9 jobs) on the SPOT test machine, which doesn't have outside access.

See merge request !30782 (merged)

cc: @nstyles @asalzbur

Merge request reports