packstack cleanup, add debug

Change-Id: I13f316e833f2c792f5be86cf86095f9f5ba8715d