Check for wrong or missing WORKING_DIR
As pipeline#28 (closed) has shown, there are custom gitlab-ci.yml out there which haven't been updated to follow the latest version of salsa-ci.yml.
This commit updates the build script to check for one known error and aborts the build before we waste precious time just to fail at the end regardless.