ranker: rank method function fix

Fixes issue that e.g. ``bibrank -w wrd`` will fail with ``Cannot run method 'wrd', no function to call``.