default to master if branch fails