Ensure ref prefix set for external_branch
Created by: eseliger
This makes it easier to find a matching changeset for a given changeset spec, because we don't need to conditionally prefix external_branch. This is a step towards DB based rewirer plans.