Correct quoting in test failure message
Sorting of repositories changed - fix test
Fix "empty" print statements

'print("")' is the Python3 compatible equivalent of 'print' - in Python2
'print()' prints out '()'

(this is in the context of making __main__.py be legal Python3 code so
that it can report it doesn't support Python3)