I suggest you talk to the folks at the Mayor's Office of Housing. http://www.sfgov.org See what others have done and then talk to the bankers they suggest. Or you can find bankers/mortgage brokers on my website listed below. I would go to the Housing office first since there are probably others in your perdicament.
Please contact me if you want info on the various lenders on my site.