minor: perfromed the same fix as discussed in http://stanbol.markmail.org/thread/w7zddluhpo6rntz7. However two tests are still failing. Looks like those errors are caused by something different

git-svn-id: https://svn.apache.org/repos/asf/stanbol/trunk@1621135 13f79535-47bb-0310-9956-ffa450edef68