Filter bulider's slavenames when reconfiguring

Fixes #2507.  Note that a build which has its builder/slave pair removed
whlie it is executing will still hang indefinitely, but that's a much
larger problem.
fix pyflakes