Empty folder bug, if no files in cpt, don't try to map array