Skip NULL method lists rather than returning an error.

The base method list will be NULL if no methods are defined for the
class/metaclass.

Issue: PLCR-495