Bug fix to internal .path file discovery