You're thinking about it the wrong way, a fortress/bunker that's well defended on an airless planet/moon is even harder to assault. Even if there's no value to the location in resources or defending a route to something, it would be a good location for some kind of high security lab, prison...