don't take into account stderr unless needed

I am using ssh via proxycommand to go through a jumphost, in this case ssh displays "killed by signal 1" on stderr at the end of a command, which fgerrit tries to parse as json and dies