[api] minor code cleanup
[api] skip local channel repos on branching

Do not copy repostories used for local channel containers when branching from a project