[solo.commands.query] use quiet=True with calculate_updates()

This avoids tainting stdout with unwanted output
[client] deal with Python bug #16308
[server] deal with Python bug #16308
Merge remote-tracking branch 'upstream/master'