Coverity 1264406; char array being compared against NULL.  Replaced with a strlen check for the value.
Coverity 1264406; char array being compared against NULL.  Replaced with a strlen check for the value.

Unidata/netcdf-c,Unidata/netcdf-c,Unidata/netcdf-c,Unidata/netcdf-c