Port get_nsis to Python using the new API