JBIDE-15494 : apply Mylyn's fix to our forked Discovery strategy

Signed-off-by: Fred Bricon <fbricon@gmail.com>