* fixed NullPointerException if extension doesn't exists
Merge pull request #137 from POPSuL/get_ext_func_npe

* fixed NullPointerException if extension doesn't exists