extension: set MW_INSTALL_PATH to WORKSPACE when unset

The Wikidata extension has its extensions under
/extensions/Wikidata/vendor/* .. That causes a bunch of issues when
using relative paths.

Change-Id: I5ad86e694963098f2a98cbca0abec9eed29bc9c1