Exit if name is not provided to new
Improve new command.