if newCorpusName was not provided it would crash teh server.

found while testing https://github.com/OpenSourceFieldlinguistics/FieldDB/issues/1520