skip directory inputs

Signed-off-by: Sami Kerola <kerolasa@iki.fi>