Fix shellcheck issues in cov-diff - SC2231, SC2006 and SC2086