Another user-agent related fixup

config2 was previously able to be run under python3.
This fixes a recent commit which broke that.

Change-Id: Iec2b9357b09a88cbda61a218d502274179d83da4