Enforce isDir, elliminates message in kubelet.log

fixes #878

Fixes invalid assumption that all direct descendants in that folder are a folder.