Remove duplicate ‘directories’ field.