 
     @discardableResult
     private func validTargetPath(at: AbsolutePath) -> Error? {
-        guard let cwd = self.fs.currentWorkingDirectory else {
-            return StringError("Unknown Current Working Directory")
-        }
-        
         // Check if paths that are enumerated in targets: [] exist
         guard self.fs.exists(at) else {
-            return StringError("\(at) could not be found")
+            return StringError("File not found")
         }
 
         // Excludes, Sources, and Resources should be found at the root of the package and or
         // its subdirectories
-        guard at.pathString.hasPrefix(cwd.pathString) else {
-            return StringError("\(at) should be found within the root of \(cwd)")
+        guard at.pathString.hasPrefix(self.packagePath.pathString) else {
+            return StringError("File must be within the package directory structure")
         }
         
         return nil

        
        self.excludedPaths.forEach { exclude in
            if let message = validTargetPath(at: exclude) {
                self.diags.emit(warning: "Invalid Exclude: \(exclude): \(message)")
            }
        }
        
        self.declaredSources?.forEach { source in
            if let message = validTargetPath(at: source) {
                self.diags.emit(warning: "Invalid Source: \(source): \(message)")
            }
        }


                    diags.emit(.error("duplicate resource rule '\(declaredResource.rule)' found for file at '\(path)'"))
                }
                matchedRule = Rule(rule: declaredResource.rule.fileRule, localization: declaredResource.localization)
            }
        }

