added check to not fail when deleting the workspace env directory and it does not exist