We have a regex that needs to match a tab character in the command output, but on macOS sed doesn't support '\t', causing it to split on the 't' character instead. Some options:
use perl -p -e 's/\t.*//', which does handle '\t'- put a literal tab character in the string passed to sed
- use sed -e $'s/\t.*//', which will cause bash to expand the '\t' before passing it to sed