test: Fix remote failure test to use correct env variable