fix #11 when folders in not in project_data

As title. It is a patch for issue #11.