Fixed exception when only stderr is available.