Add a null check to isBuilding().

We haven't yet traced the source of null return values from getLatestBuild(),
but this fixes an NPE that prevents scheduling.
Bump the patch version