Fix compatibility of the test DatabaseUtilsTest with Oracle
SONAR-3583 do not fail if violation has no rule id