Use conf'd upstream remote name instead of origin

Use the actual name of the configured upstream remote instead of
hardcoded 'origin'.