Fix use of uninitialized serialno

Also do not crash if OPE_GET_SERIALNO_REQUEST is used after draining.
1 job for bugfix1 in 57 seconds (queued for 87 minutes and 21 seconds)
latest
Status Job ID Name Coverage
  Build
passed #11139
docker
autoconf

00:00:57