PostProcess.hs: clean up code for git-annex so that the package can be built with doCheck=false