A fix for `list_commands` to properly get the package name