Clean template cache during upgradeFromGit