FIX: allow the packageToFileList to work correctly even if the fileList does not already exist.
FIX: there are multiple types that are retrieved per folder. Correct that when translating folders to Metadata/Extensions.