Choosing between multiple folder paths - replicator

Hi, I have a folder path path to fruits folder which has two folders in it; apples and oranges.
each folder holds a bunch of usds of that fruit.

Now, in my extension, I need to randomly select either oranges or apples and then scatter all the usds in the choosen path. this is my code:

def randomize_fruits(fruits_paths, traversable_plane):

    fruit = rep.utils.get_usd_files(rep.distribution.choice(fruits_paths))

    with rep.randomizer.instantiate(fruit, size=6, use_cache = False):

where fruits_paths is a list with two paths, one path to the apples directory and another to the oranges diretory.

This does not work. any help is much appriciated.