use correct path when configuring remote api

fix for issue #3 which I guess occurs in more recent version of the sdk