Fix call to delete working directory