I have used AI to find how the GetItcmd works and the problem about memory when buffer is redirected is strange, anyway is possible to get information direct from GetIt server. I have worked with AI aid to update software and use REST to get packages list from server and registry to detect already installed ones like GetItcmd do.
I have sent a e-mail to you but probably is gone to spam, I have forked the repo and upload my version to branch, check my fork>branch or contact me please.