Do we need a check for the case where entryName == null and matchFound == false due to no matches being found?  Should an exception be thrown in this case?