EDOC-1320: remove unneeded getChildren() request from getObject() logic when document is stored in folder