Minor fix for figuring out paths.