gerrit-dps: Return [404, 'err'] if DPS task failed.

Change-Id: I2fdd167db5e3b08a8094976c308726eb98e1eb3b