Export PATH outside of cache-creation step.

Fixes shellcheck not being found