Missing NULL check in arg guard handling.

Fixes a SEGV reported by Mouq++.