Properly use source_directory setting in project.json for preview and build processes