Revert "Can't add empty folders"

This reverts commit c92812e6b3d125c56667a813a528622e05d59a1e.