Fallback to base_path if project_root is not set.