having the BranchDetector.CanDetectBranch() swallow exceptions and return false.  Closes GH-213