Return correct version when calling worker script with --version