So how did it "develop a leak" ?
Was a very small micrometeorite the cause, or did the incessant heating/cooling from orbiting the planet 20 times a day finally create cracks in the telescope tube ?
Inquiring minds and all that . . .
NASA is sending astronauts out to fix an X-ray telescope on the International Space Station (ISS) after the instrument developed a "light leak." The telescope in question is the Neutron star Interior Composition Explorer (NICER), which collects X-ray measurements. In May 2023, scientists found that the instrument had developed …
Not having to build your own manoeuvring system, tracking, de-orbit capability, independent comms links, etc etc.
Frankly, if its possible to attach to the ISS and fits within mission parameters, why wouldn't you??
Also (just guessing) possibly designed to be disposable, but NASA have decided to extend its mission.
Whatever's blocking VISIBLE light has to pass xrays (and fairly low energy ones at that)
Xray telescopes aren't built like anything you've experienced (unless you're an xray astronomer). They look like a large set of nesting concentric metal tubes: https://imagine.gsfc.nasa.gov/observatories/technology/xray_telescopes1.html
Foil would block a lot of what's wanted AND is spectacularly fragile when facing being handled by someone wearing what approximates 2 wetsuits and double gloved with heavy latex, covered with leather gloves on top
Astronauts on spacewalks are amazingly clunky but also fragile as hell (a small water coolant leak in zero-G can drown someone before they managed to get to the airlocks thanks to surface tension) and wouldn't be used at all if telehandlers were up to the task. It's an incredibly dangerous and above all SLOW way to do anything
An ideal repair can be manouvered in place with the arm and self-guide/lock into position with no spacesuited intervention required - which is a lot easier said than done