[Hackage] #786: Bad errors from getProgramInvocationOutput and friends