wait: avoid potential panic in case v is nil

1 job for v0.8.0 in 20 seconds (queued for 17 seconds)
latest
Status Job ID Name Coverage
  Release
passed Release #321514

00:00:20