if newCorpusName was not provided it would crash teh server.

found while testing https://github.com/OpenSourceFieldlinguistics/FieldDB/issues/1520
Merge pull request #30 from cesine/master

if newCorpusName was not provided it would crash teh server.