publish: Don't go through the completed list multiple times

Fixes up the printed output and marginally faster with multiple
processes.

Fixes #15 on github