Fixed config checks in ping.