You are checking the wrong directory here.
The directory value that is passed into the call is the directory that the contents have been uploaded to. This is normally expected to exist.
directory
1 new commit added
2 new commits added
:thumbsup:
Commit 21fefc4c fixes this pull-request
Pull-Request has been merged by mikem@redhat.com