network: if /sys is rw, then udev should be around
This switches detect_container() to path_is_read_only_rw("/sys"), as if
systemd-udevd.service is conditionalized with that way.
This also updates the log message.
(cherry picked from commit bf331d87)
(cherry picked from commit 96d7083c)