The only way to get it back is to download and use the Windows 10 Installation Media. Download the button under Create Installation Media. (See below) It's reinstalling Windows from scratch but that's the only way to do it.
I spent a month with all that GetAppx stuff and none of that works. Honestly, I'm not sure why people keep posting that. Obviously they haven't faced it themselves.