How to pass an environment variable to a downstream build when running locally?

upstream:

steps:
- name: trigger
  image: plugins/downstream:linux-amd64
  settings:
    params:
      - SOURCE_BRANCH=${DRONE_SOURCE_BRANCH}

downstream:

  - name: repo
    image: docker.domain.com/owner/repo:${SOURCE_BRANCH}

The thing is it does not work when running locally by using drone exec --env-file env:

mapping values are not allowed in this context

If I tried to escape the dollar sign ($${SOURCE_BRANCH}), then the error is:

invalid reference format

Created: https://github.com/drone/drone-cli/issues/164