package-server: Fix missing argument

In some cases on_exec_error() method is called with 2 arguments, which
cause a traceback.