Delete project directory if project creation doesn't succeed

Shouldn't this happen after we change the `projectName` value?