fixed the issues coming from committing empty folders