upgradeFromGit/buildDocExports : fix bugs