allow empty dirs to exist when doing checkout
Merge pull request #1527 from ethomson/checkout_allow_empty_dirs

allow empty dirs to exist when doing checkout