Use configured upstream remote name instead of origin

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