fix: remove all new lines when parsing git sha / tags