Fix supplied program name for errors