mpi4py: use the output, not the result

Change-Id: Ia996924cb07e8197724d583c2c5e8906a6cf37d8
Merge topic 'fix-mpi4py-include-dir' into master

97df2a89 mpi4py: use the output, not the result