Check that we have dirs in path generator

Addresses https://github.com/facebook/watchman/issues/22