fix directory search order

also clarify some log output
(thx grenadier)