Check if waitfor ip is in the config before referencing