Revert "-- added a small log info"

This reverts commit cf93c6d5b1aabc781c0c897965d1208324d3e006.
Revert "-- simplified the regex for finding the branches"

This reverts commit b19e66b7ed5bc1904815c382fdf1b2bc75c96d9b.