Added support for --with-origin with multi-branch imports