Regarding to script template when windows deploying

**Problem:
I got a problem sometimes, (not regular)
I review script template, there is difference.
where do I refer to fix it? why it has difference?

Deploy Successe :

echo Downloading unattend.xml
%WGET% --no-verbose --no-check-certificate http://foreman.domain.com/unattended/provision -O c:\Windows\Panther\unattend.xml
echo Downloading finsh script and activating SetupComplete.cmd
md c:\deploy
%WGET% --no-verbose --no-check-certificate http://foreman.domain.com/unattended/finish -O C:\deploy\foreman-finish.bat

Deploy Fail :

echo Downloading unattend.xml
%WGET% --no-verbose --no-check-certificate http://foreman.domain.com/unattended/provision?token=8b5e1c41-812c-4cca-b732-4394bc02b97c -O c:\Windows\Panther\unattend.xml
echo Downloading finsh script and activating SetupComplete.cmd
md c:\deploy
%WGET% --no-verbose --no-check-certificate http://foreman.domain.com/unattended/finish?token=8b5e1c41-812c-4cca-b732-4394bc02b97c -O C:\deploy\foreman-finish.bat

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)

logs

I use Foreman and Proxy versions: 1.15, 6