[PATCH 5.4 083/134] tc-testing: dont access non-existent variable on exception