Fix saving of console log on build failure for build_local.sh
Fix saving of console log on build failure for build_local.sh

Change-Id: Iddb063b46bcf57ec4e3797ecd5433819d8e10482

NeCTAR-RC/nectar-images,NeCTAR-RC/nectar-images