Read command line parameter only in main, fix problem with nose params