improve the way we get remoteExtPath for resources
Merge pull request #10 from wmde/remoteExtPath

improve the way we get remoteExtPath for resources