In package manager ensure templates are installed before TVs so links can be made correctly