[FIX] XQuery, #896, no immediate dep. check when importing repo modules.
[MOD] Merged with master