Yes. You're correct in understanding that since your husband is getting a refund of the $150 paid to Rhode Island (RI), no credit will be available on your Massachusetts (MA) return because no taxes were ultimately paid to RI.
The 5% income refers to taxable income sourced in RI for the year and not combined MA and RI income. The second part of your question deals with tax liability in RI. Since there's no tax liability, that answer is "0".
Reach out if you have additional questions, as we are here to help.
@DW448
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"