Undo ES_DIRECTORY

Change-Id: I314732716869010f00635efca679889b63749f0d
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>