Fix lookup for outputPath