Fix race condition between saving a build and running a partition
job before the build is committed.
Merge pull request #39 from square/fix-partition-race-condition

Fix race condition between saving a build and running a partition