Upgrade and remove pt-agent during install