For anyone reading this issue, replacing paths is not needed (this actually leads to the same errors) since migration to SonarSource/sonarqube-scan-action