Preventing error when the branch isn't on upstream