Fix ignoring wrong files in copying folder structure