I exported a site as a template. First I verified all the assets and deleted the unused ones, next I optimized the site and then made a template.
After all this now I have a publishing problem: it publishes everything but reports that some files are missing. The missing files are from a style directory that was used for this website in NOF 11. It indeed doesn't exist anymore. I tried restoring it but this didn't help.
I tried opening the same site from the same imported template in NOF11 and have the same problem.

Any ideas how to solve this problem?