Fixes broken importPaths and package.json names due to incorrect logic that has already been fixed ISSUES CLOSED: #6648