Pyroot hangs depending on command line options

I see there was a similar thread here:

I will clean sys.argv after parsing the options.