The error shows up only when we select empty folders