[bugfix] Do not NPE when calling restxq module function from not restxq context, rather error with RQDY0101