public function destroy($name)
    {
        $path = $this->getReposDir($name);

        if (!is_dir($path)) {
            throw new \InvalidArgumentException(sprintf('Repository path %s does not exists', $path));
        }

        $filesystem = new Filesystem();
        $filesystem->remove($path);
    }