test_metapackage.py: capture stderr with stdout