How to specify a list of directory in InputWorkDirRequirement

Hi, I am running in the following issue. I have a list of directory that I would like to modify as input.
To do so I add them in the InputWorkDirRequirement but for some reason it only works for a single directory.

This is my cwl workflow

    class: CommandLineTool
    cwlVersion: v1.1
    id: test_multiple_dir_input
      - /bin/bash
      - id: msin
        type: 'Directory[]'
      - id: std_out
        type: File
          glob: test_multiple_dir_input.log
    label: test_multiple_dir_input
      - class: DockerRequirement
        dockerPull: 'lofareosc/prefactor:HBAcalibrator'
      - class: InitialWorkDirRequirement
          - entry: $(inputs.msin)
            writable: true
          - entryname:
            entry: | 
              ls -lR
              rm test1/dude.txt
      - class: InlineJavascriptRequirement
    stdout: test_multiple_dir_input.log

and this is my input file

    "msin": [{"class": "Directory", "path":"test1"}, {"class": "Directory", "path":"test2"}]

the directory listing is the following:

[15:10:07] mmancini:multiple_folders $ ls -lR test1 test2  
total 0
-rw-rw-r-- 1 mmancini mmancini 0 Feb 22 15:10 dude.txt

total 0

This is obviously a minimum snippet to recreate the problem.

To execute the workflow I am using cwltool with version 3.0.20210124104916

Not sure if its exactly the same problem but this sounds kinda similar to the issue I was having here;

You might be able to modify the solutions there to stage a directory of directories

Hello @matmanc

I am able to reproduce your result; can you open an issue at ?

INFO /home/michael/cwltool/env3.9/bin/cwltool 3.0.20210124104916
INFO Resolved 'calibrator.cwl' to 'file:///home/michael/cwltool/calibrator.cwl'
INFO [job test_multiple_dir_input] /tmp/g63y6gd4$ docker \
    run \
    -i \
    --mount=type=bind,source=/tmp/g63y6gd4,target=/EIweox \
    --mount=type=bind,source=/tmp/ajilqq15,target=/tmp \
    --mount=type=bind,source=/home/michael/cwltool/test1,target=/EIweox/test1,readonly \
    --mount=type=bind,source=/home/michael/cwltool/test2,target=/EIweox/test2,readonly \
    --workdir=/EIweox \
    --read-only=true \
    --net=none \
    --log-driver=none \
    --user=1000:1000 \
    --rm \
    --env=TMPDIR=/tmp \
    --env=HOME=/EIweox \
    --cidfile=/tmp/px3lec2s/20210305154829-021485.cid \
    lofareosc/prefactor:HBAcalibrator \
    /bin/bash \ > /tmp/g63y6gd4/test_multiple_dir_input.log
rm: cannot remove 'test1/dude.txt': Read-only file system
INFO [job test_multiple_dir_input] Max memory used: 0MiB
WARNING [job test_multiple_dir_input] completed permanentFail