Don't start repo with non-directory root (fixes #276)
Don't stop discovery on send errors (fixes #240)