Ruby: Fix for extensions whose install.rdf uses an attribute for em:id (issue 5978)