be carefull because it's %ldHostname% and not %ldhostname%
maybe you've an error with upper case and lower case.
i have juste deployed a server today (2k8 and 2K12) with landesk without issue with the prompt.
Well thank you.
All due to a capital letter!
Been trying to work this out for a few hours now.