ERP5VCS: fix error with recent versions of Git when there's no upstream configured for current branch