Hi Glen,
Terminal Services Application Server (AppServer) installs Terminal Services in Application Server mode on the domain controller and Terminal Services Application Server Admin Pack (AppServer-UI) installs the tools used by the Terminal Services (Application Server) sub-role.
It seems the Application Server Role is not listed under Microsoft-Windows-Foundation-Package.
I suggest manually installing the Application Server Role on the master computer before running sysprep.
For more information about Microsoft-Windows-Foundation-Package Features, please refer to the following article:
Windows Server 2008 Packages
http://technet2.microsoft.com/windowsvista/zh-CHS/library/1c4759f5-0e41-4335-878e-73da90a075d22052.mspx?mfr=true
Hope it helps.
Tim Quan - MSFT