RF: use relative lib.which import

- command-line test had path issues on linux