SONAR-3755 Fix issue on SQL to retrieve root project