How to change the main branch in SonarQube?

Hmm. Tried changing the prepare task from msbuild integrated to standalone. Slightly different report, but same error. Is there any way to bypass/uncheck the branch parameter causing the issue ?

Thanks