HPCC-8631 Corrected warning due to null string copy

Moved from null string copy to setting char* to null.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>