Haven't run it yet, but I would expect this and the occurrence below should be deployArgs[1]. Looks like you're currently changing the grunt object.