also quote current branch in regex test for safety(?)