Ignore empty directories

Related to #161.  I'm not sure if this is the correct way to solve the problem, but it seems to work for me.