sfd: stop outputting trailing whitespaces or double-spaces

r? @frank-trampe
So I should remove the space on the `~` branches?