SONAR-926 Improve error reporting when invalid use of sonar.profile