Fixed bug in getImageObject with directory UUIDs