[BZ 1069547] Set the overall result of the deployment
to avoid server-side NPE.