Fix directory overrride

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>