Ecs-ecr deploy issues

Hi,
has anyone come across this error before: “TypeError: Cannot read property ‘default_branch’ of undefined.” Is there a place I am required to set up default_branch? There is no command or settings anywhere that prompts or accepts a value for a default branch.
Thanks