Packaging 5.2 Stuck in Maintenance

So I found this on my way to solve this problem. Its basically linked to the Derived data cache maintenance, so all you need is to disable it during the packaging process; here is the Link