Debug workflow

+ fixup pimpathon withTempDir to make tests work on mac.
Remove the commented-out code?