Enforce isDir, elliminates message in kubelet.log

fixes #878

Fixes invalid assumption that all direct descendants in that folder are a folder.
Can you change to ```if !... { continue }``` to keep the indentation level low?