runner: expand ~ for all variables

Fixing the previous commit, I'm stupid...