Detect correct Branch#source_branch on backend, ApiMock