fix build_name

build-name is not a thing, so this wasn't detecting gate fails.

Change-Id: I372a1121d1c77b110106632b936f07c763abcc01
Related-Bug: #1307344