validate: address SC2155 (shellcheck)
see https://github.com/koalaman/shellcheck/wiki/SC2155
Looking at how these were used, I don't think we even need to
export them, so removing that.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 5cfc9c374cbde2fa650ee069d039cd6efeae0197)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>