Use absolute path for pkg import.