Add error handling when project names contain spaces