Add return code for "packages" command