Its production was in TAPO in Uzbekistan. The plant was closing down. Russia had to bring its production home because a lot of Russian aircraft component manufacturers (for their own survival)need that plane to be still made somewhere.
The Il-76 and its modifications (AWACS and refueling tanker versions) can be made in short time. No need to spend large sums and wait for years to get some other aircraft to do transport/early warning/tanker duties.
The Il-476 that will be produced in Aviastar (Ulyanovsk, Russia) can also be made in the stretched version. Combined with the more efficient wings, engines and a glass cockpit, it is a truely modern age transport/AWACS/tanker ready to be produced immediatly and with all the bugs cleared out long time ago.
As for the cargo load width. The Russians (and other countries) have been happily buying and using this plane in large numbers (about 1000 produced) over the decades. I guess cargo load width is not as great an issue as some would like to think.
The AN-70 doesn't come close: it still needs time and money to be fully developped, it will have its own set of bugs and issues to be dealt with, production will need some time to be ramped up. And you still need to spend huge sums to develop AWACS and tanker versions....and it still won't be able to transport a T-90 (let alone an Armata).
I am not against AN-70. It can find a niche in many roles such as being the main transport for the airborne VDV for example. But the Il-476 program is more crucial to Russia.