@metlos I tried to reproduce exactly the same key, but may be I'm missing something.
For example I use this :  
<IfModule mod_status.c>
  <VirtualHost *:80>
    ServerName test1
       <Directory  /var/www/html/test1>
       </Directory>
  </VirtualHost>
</IfModule>

The key with augeas is like the new code : <Directory|/var/www/html/test1|1;

![rhq-apache-plugin-directory-in-ifmodule](https://cloud.githubusercontent.com/assets/273896/3085615/c303c02a-e515-11e3-9528-328a65585e44.png)

This screenshot is based on the augeas discovery . I have exactly the same result with the new code.

Can you give me the part of the key that is bad?

Thank you again for your help.
Jérémie.