fix for #3482 sys.flavor and sys.arch are empty