fixes wrong command for restoring packages