Use `pkg` instead of `tmp` as the temporary dir prefix

This change allows temp dirs created by the packaging repo to be more
easily identifiable, which will make it simpler to clean temp
directories left over from failed builds.