Avoid NPE in trampoline's win-batch? detection. Fixes #896.