Right. Next snap will have that fixed, and we'll see what else
people run into.
The goal is that the install scripts should stop cd'ing all
over the place -- that is a dangerous practice. If it must cd,
it should try to do it in a subshell (for small tasks, otherwise
they become hard to debug), otherwise it is also better to use
absolute paths to /tmp (the usual culprit).