Made post-audit-import hook for creating folders slightly more robust