If an exception is raised when rewriting values during project creation, then we should remove the project directory.