only output the deprecation message if branches were actually found