Fix git_local_branches_prefixed listening

Wildcarding the for-each-ref will make the function recognize branch prefixes which isn't a subpath.
For example default branch prefix for releases is "release/" however I use "release-" which are not recognized when calling `git for-each-ref --format='%(refname:short)' refs/heads/release-`. Adding the wildcard here will detect such branches.