gensources.iml generator: better assertion