Fix keg re-linking logic for failed upgrades
Fix keg re-linking logic for failed upgrades

MikeMcQuaid/brew,JCount/brew,EricFromCanada/brew,Homebrew/brew,JCount/brew,claui/brew,JCount/brew,claui/brew,EricFromCanada/brew,Homebrew/brew,nandub/brew,MikeMcQuaid/brew,nandub/brew,EricFromCanada/brew,claui/brew,Homebrew/brew,claui/brew,Homebrew/brew,EricFromCanada/brew,JCount/brew,nandub/brew,nandub/brew,MikeMcQuaid/brew,MikeMcQuaid/brew