getProjectPathForScope method
Get the project path for scopes that are project-specific.
Implementation
String? getProjectPathForScope(PluginScope scope) =>
(scope == PluginScope.project || scope == PluginScope.local)
? getOriginalCwd()
: null;