Now that was quick!
The advice you both gave solved the problem.
It might be worth updating https://fedorahosted.org/cobbler/wiki/KickstartTemplating#CheckingForVariablesThatMightNotExist so that future punters don't fall into the same trap I did. I would update it myself but I don't have trac login rights.
Regards,
Nick