fix an issue parsing deploy responses
Merge pull request #2584 from devoncarew/devoncarew_fix_lines_first

fix an issue parsing deploy responses