This is a particularly knarly problem, as assuming you just want to write a shell script that operates on the local system, it's very difficult to achieve.
This gives the following output when run:
/vmfs/volumes/5a551f9a-fc78330f-f85f-000c290b7d1b/debian-9-x64/debian-9-x64.vmdk
/vmfs/volumes/5a551f9a-fc78330f-f85f-000c290b7d1b/ubuntu-1604-x64/ubuntu-1604-x64.vmdk
/vmfs/volumes/5a551f9a-fc78330f-f85f-000c290b7d1b/ubuntu-1604-x64/ubuntu-1604-x64-000002.vmdk