Why isn't the `AssertValidBranchName` method called anymore?