fix metrics finder behavior

- change branch name with group match
- change condition for selecting leaf nodes
  - when match whole string with regular expression