When no upstream is configured, the script behaves as if push.default=current

Before, it failed graciously in showing any differences with the remote.