DI Extension: Added support for variables in directory names