PathLookup takes the original recursive lookup result. It checks for subfolders and truncates the resulting items when a subfolder appears.
But in reality, files in the path we're interested in does not have to be among the first items. They can be among the other folders.
As a result, not all registered items are returned by PathLookup.
We need to scan the whole lookup result to retrieve all files under the given path.
Fixed in changeset: 176429:8078352ee21a
Integrated into 'main-golden', will be available in build *201008270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #189840 Process all lookup items to get the ones just under the given path.