Ignoring local paths that are local directories.

Fixes #19.