you are correct that wife wasn’t on 1st loan but i always thought credit was merged for FHA qualification purposes whether spouse is on the loan or not.
Depends if you are buying as ‘single’ and/or would be ‘sole owner’. This type of thing can make divorces messy though.