[gantree] ebextension branch support

https://bleacherreport.lighthouseapp.com/projects/6296/tickets/17619-gantree-ebextension-branch-support