fix potential nil incoming on ipath for application external api
Merge pull request #115 from cbdr/ipath_rescue_on_nil_for_application_external

fix potential nil incoming on ipath for application external api