[bashrc] Fix regex in auto-deletion of git branches

We want to exclude the master branch, but we ended up also excluding
other branches that contain the substring "master" in their names.  We
make the regex more specific to avoid this problem.