mwconf: tweak workspace detection for /src/ fetches

When mediawiki/core is fetched in /src/ we would end up with no log
because $wmgJobWorkspace is fallback to /src/ instead of /.

Change-Id: Id20d73d749ee6dd4b08013ac21fee73b79bc0dc9