fix #11 when folders in not in project_data

As title. It is a patch for issue #11.
Thx, I removed it in the new commits.