Fix: FolderNotEmptyException is thrown for no good reason

- JPA caches getFiles()
1 job for folder-not-empty-exception in 1 minute
Status Job ID Name Coverage
  Compile
passed #36177
run tests in branches

00:01:00