Can you update that to something like `opts.from_package is not None`?