Fix: ignore unreadable directories (fixes #1452)