Fix overwrite of local commits when no remote changes
Fix overwrite of local commits when no remote changes

Where default git branch is used, commits added locally to the branch
should not prompt `rebar3 upgrade` to reset the local branch to remote
when no remote changes are present (consistently with normal
`{branch, Name}` handling)

rebar/rebar3,erlang/rebar3,rebar/rebar3