Releaf::ResourceFinder: internal refactoring