Check if the ipsec section exists before doing operations on it.