[FIX] Do not set upstream if cloned failed. Closes #4.