Fix 'AutomatedId1' for no file in directory.