Fix remoteExtPath for installation in non-standard locations

Same hack used in Wikibase, ValueView, etc. to allow this to work if an extension is installed in a non-standard place.