Fix target platform
SONARIDE-369 Fix NPE with m2e connector in some situations