HPCC-12107 Segmentation fault when supplying an incorrect Wuid

Fix build break.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>