Don't copy changelog if build failed

Change-Id: I1fc308b66eb3aaebbc0a591ca1c9cdd2eb220d0d