do {
if(item instanceof Entry && eid.size() == 1) {
// In this case, we're looking for and have found an exact
// item.
Entry entry = (Entry) item;
if (entry.contentType() == ct) {
return entry;
}
} else if (item instanceof Path.Folder && eid.size() > 1) {
// In this case, the ID is indicates the item is not
// contained in this folder.