strengthen check for object existence in path slicing object storage
do not rely on os.path.exists(), as it might be true for the root dir of the
storage (which we will it, e.g., when an object ID is the empty string), but
prefer os.path.isfile() instead