We fixed the issue by setting an absolute path for the sonar.userHome property:
sonar.userHome
-Dsonar.userHome=`pwd`/.sonar