669b0ba583
This change allows to inject custom environment properties for directory context initialization. Fixes: gh-2312