Fix upstream refname bug
backend: use ssh for remote build
backend: add output encoding