Prevent KeyError in tests launcher