Fix path lookup.