Skip directories when bootstrapping.

Fixes #4.