[xbuild] Don't add assemblies based on expansion of empty template.