Fix a bug of updating Build#incremental_id

`Build#incremental_id` should be 1 at first but nil actually now.
In this PR I fixed it.