avoid a warning if Net::IP::Error is undef
"use base" required the base module to be loaded

Otherwise it will silently create an object without an empty base module.

Issue seens with perl 5.14.2 from Debian.
another syntax error a User task

closes: #2121

Reported-by: Tomás Abad <tabadgp@gmail.com>