Get rid of the link to the generic "exit" from a container if there is nowhere to which to exit (because it is located nowhere).