input: ipaccess: fix possible NULL dereference

Unlikely to happen, but add assertion for correctness.

Reported by Holger.

Reference: CID 1042352
1 file changed