correcting ansys.py

This is clearly not the way to do it, as I get the error: 
ERROR: EasyBuild crashed with an error (at easybuild/main.py:104 in build_and_install_software): Build of /home/bver018/easy/easybuild-easyconfigs/easybuild/easyconfigs/a/ANSYS/ANSYS-15.0.eb failed (err: cannot concatenate 'str' and 'NoneType' objects)

Please advise.