Handle NPE when the job is running its first build