Fix to support the release plugin or other cases where the URL in the scriptler thread name ends in something besides "build" (e.g. "release/")