Well, You're correct!
But, there is a clause. Read carefully.
In addition, you are eligible as Resident Alien for tax purposes. Not just green card holders or US citizens. You can be a nonimmigrant and at same time be a Resident Alien for Tax purposes.
In this link. Please, pay attention to this wording from IRS as stated below;
In some cases aliens are allowed to make elections which override the green card test and the substantial presence test, as follows.
You can be both a nonresident alien and a resident alien during the same tax year. This usually occurs in the year you arrive or depart from the United States. If so, you may elect to be treated as a Dual Status Alien for this taxable year and a Resident Alien for the next taxable year if you meet certain tests. (Refer to section "Dual-Status Aliens"...
So therefore, just relax and you'll see your direct deposit too, as far as you filed in 2018 and 2019.