Fix a bug when passing deployment arguments
PLAT-638 #time 5m