Error: The path passed into new folder item was invalid.

This can be caused on export if the website folder contains .git folder