null checking for form dump

The result of getFolderPath gets passed to a SendTask (dumpDirectory) which then checks if(!(dumpDirectory.isDirectory())) ...that ought to also check for null.