25e3dc594d
Separate retrieving targeted branches from printing the branches to allow for other tools to better integrate with the results. PR Close #39897