The ModuleRevisionId objects that are returned by the SearchEngine.listModules(ModuleRevisionId, PatternMatcher) method does not contain any extra attributes. If extra attributes are passed in then they should also be added to the returned module. Without the extra attributes then then the modules returned are practically useless for any further use. This method is published in the Ivy class, too.
See attached for test and fix patch.