[minor] cleanup leftover debug print
[minor/bug] fix agent version detection in upgrade module