[pacman-dev] Fix srcinfo sometimes printing double newline at the end