Add a function for listing packages installed in a sandbox.