weld{it,move,name}:  default to HEAD branch
weld:  slightly fix error handling in case TO was empty