bug fix in first_found search path assembly
Merge pull request #2903 from sergevanginderachter/first_found

bug fix in first_found search path assembly