fixed bad method call

This prevents the following error when removing a PECL package:

    wrong number of arguments (2 for 4)