Fix an issue with the promotion of the build.

Change-Id: I26eb93cb23a1512233c413206547dbef99b7168c