Fixing DefaultResourceDao.findNodeSourceDirectories()

There was an invalid filter used on that method that was preventing
listing all the node resources properly when storeByForeignSource is
enabled.

FindTopLevelResourcesTest has been updated to validate that it should
work as expected.

Solution also tested on running environment.