why don't we just make realstaging's code_branch explicit?