converters: fix mergetags trailing newlines
When importing a commit with a mergetag, dulwich adds a newline at the end to be able to parse it. We have to trim it before import.