I think that you're trying to be too smart here. Just run make nconfig, if it fails, catch the exit status and die.
There are a gazillions of other reasons that make "make nconfig" terminate with exit status != 0.