Managed to create the folder now, realised I had missed the create package step.
But... still same problem.
discuss.answer
Okay ignore this. I completely scrapped everything I had. It had created the package, but the schema XML file was empty/null.
This can now be marked as resolved.