CORE-6019 Fix for batch output parent directory.