Fix https://github.com/TargetHolding/bdsync/issues/2