bugfix: redundant directory remains when project import error occured