Fixed infinite loop in powernet rebuild.

If a machine was not anchored, it would spin forever, doing nothing.
Fixed on baystation a while ago.
Merge pull request #98 from Uristqwerty/master

Fix for infinite loop in powernet_nextlink.