Cleanup if error occurs

When an exception occurs during the project creation, catch the exception and remove the project directory

Fix #139