BUG: fix not returning out array from ufuncs with subok=False set

closes gh-5240
Best way to handle control flow here?