This was needed in the past although we would never enter the loop. But call unwrap directly would fail.