Use split-string and replace-regexp-in-string

magit-split-lines is deprecated