Fix race condition between saving a build and running a partition

@robolson @jkingdon 

Fix race condition between saving a build and running a partition job before the build is committed.