fix an issue parsing deploy responses

@umop, TBR