Fix #129 issue with task check no working when there is not secret set.