[xtend][contentAssist] Avoid exception from illegal scope query

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=450827

Change-Id: I2435f5a4a8b04b7abf6581897e51cb2532f6e9fe