libcli/security: check again for NULL values