BF: keep os module around for running get_info
BF: keep os module around for running get_info

We were getting ``os`` not defined errors when running ``make
check-version-info``.  This was because the module was deleting ``os``
before the lambda using ``os`` was used.  Use a function instead.

jyeatman/dipy,matthieudumont/dipy,JohnGriffiths/dipy,rfdougherty/dipy,demianw/dipy,villalonreina/dipy,nilgoyyou/dipy,StongeEtienne/dipy,FrancoisRheaultUS/dipy,mdesco/dipy,demianw/dipy,JohnGriffiths/dipy,samuelstjean/dipy,maurozucchelli/dipy,maurozucchelli/dipy,oesteban/dipy,matthieudumont/dipy,villalonreina/dipy,FrancoisRheaultUS/dipy,nilgoyyou/dipy,oesteban/dipy,sinkpoint/dipy,samuelstjean/dipy,beni55/dipy,rfdougherty/dipy,mdesco/dipy,StongeEtienne/dipy,beni55/dipy,maurozucchelli/dipy,Messaoud-Boudjada/dipy,samuelstjean/dipy,jyeatman/dipy,sinkpoint/dipy,Messaoud-Boudjada/dipy