Fix first build when pinned at change-number.

On first build the logic would treat a pinned changelist build as a
label, causing a processing error later for change reporting.