[PATCH net] tc-testing: don't access non-existent variable on exception