FindPythonModules: use a function
FindPythonModules: use a function

Prevent unnecessary scope pollution.

Change-Id: If268d5fcbcf4edd7b5dcac62fa567ca4cf634082

gram526/VTK,demarle/VTK,sumedhasingla/VTK,demarle/VTK,sankhesh/VTK,candy7393/VTK,sankhesh/VTK,ashray/VTK-EVM,keithroe/vtkoptix,sumedhasingla/VTK,msmolens/VTK,sankhesh/VTK,SimVascular/VTK,johnkit/vtk-dev,jmerkow/VTK,msmolens/VTK,johnkit/vtk-dev,SimVascular/VTK,johnkit/vtk-dev,gram526/VTK,gram526/VTK,hendradarwin/VTK,sumedhasingla/VTK,sankhesh/VTK,hendradarwin/VTK,jmerkow/VTK,SimVascular/VTK,sankhesh/VTK,hendradarwin/VTK,hendradarwin/VTK,SimVascular/VTK,demarle/VTK,gram526/VTK,ashray/VTK-EVM,keithroe/vtkoptix,candy7393/VTK,ashray/VTK-EVM,johnkit/vtk-dev,jmerkow/VTK,keithroe/vtkoptix,demarle/VTK,mspark93/VTK,johnkit/vtk-dev,gram526/VTK,demarle/VTK,sumedhasingla/VTK,keithroe/vtkoptix,mspark93/VTK,msmolens/VTK,ashray/VTK-EVM,msmolens/VTK,mspark93/VTK,candy7393/VTK,ashray/VTK-EVM,candy7393/VTK,mspark93/VTK,msmolens/VTK,sankhesh/VTK,gram526/VTK,SimVascular/VTK,sankhesh/VTK,keithroe/vtkoptix,sumedhasingla/VTK,msmolens/VTK,ashray/VTK-EVM,SimVascular/VTK,sumedhasingla/VTK,gram526/VTK,jmerkow/VTK,mspark93/VTK,SimVascular/VTK,sumedhasingla/VTK,jmerkow/VTK,keithroe/vtkoptix,msmolens/VTK,mspark93/VTK,jmerkow/VTK,ashray/VTK-EVM,candy7393/VTK,mspark93/VTK,ashray/VTK-EVM,hendradarwin/VTK,candy7393/VTK,johnkit/vtk-dev,demarle/VTK,candy7393/VTK,hendradarwin/VTK,SimVascular/VTK,hendradarwin/VTK,demarle/VTK,sumedhasingla/VTK,msmolens/VTK,jmerkow/VTK,gram526/VTK,candy7393/VTK,jmerkow/VTK,mspark93/VTK,demarle/VTK,johnkit/vtk-dev,keithroe/vtkoptix,sankhesh/VTK,keithroe/vtkoptix