Make $wgServer available for use in remote-mw-script-path

Change-Id: Ia18fadabf0c578df2d0ea833733a02f911bfad35