Nordugrid_gahp crashes on failed CWD command. #4318

If the server doesn't return a 250 response code to our CWD command, the
gridftp library invokes our callback with an unallocated buffer. Test
for NULL before dereferencing the pointer.