PIM-1517 Don't create empty file directories when exporting products without media