Fixed an even more stupid bug in the migration script where all the resources with a # in the path were skipped