autobuilder: Use last completed build for tasks

We can't execute a task in a *running* build.