Fix for a bug in deployer - exceptions were thrown besause ajax request was fired with invalid parameters.
Authored by: bartpved 2012-10-24
Parent: [r284]
Child: [r286]