Adapt some logs and assertions

...cf. previous 2ad716f406e0fdb9b9294876c64ae92fecbf5e27 "Revert 'pyuno: set up
fake command line in getComponentContext().'"

Change-Id: Ia77132465ada17a5839f9d4f9ccaf20f8b113075