Don't upload if output looks erroneous

Change-Id: Ia6bb25636a1e64566bfe94d1d07570f90b0f2e85