partial revert some of the get_map() cleanups.

Turns out we _do_ do get_map from main pid context.
As the comment describes, the setsockopt code uses it when
we do socket creation on startup.