private function add($repositoryPath, array $filesystemPaths) { try { $this->addInOrder($filesystemPaths); } catch (Exception $e) { $this->repo->remove($repositoryPath); throw $e; } }