fix loading of models to work with moved third_party folder

If you change your third_party path via config, this extension stops working. This is a fix for that. Thanks!