Set workspace only when already running self-hosted build.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>