Improve the detection of the reattach-to-user-namespace